if (WRITE_BYTES(&p, end, lctx->endtime)) goto out_err;
word_send_seq = lctx->send_seq; /* XXX send_seq is 64-bit */
if (WRITE_BYTES(&p, end, word_send_seq)) goto out_err;
- if (write_buffer(&p, end, (gss_buffer_desc*)&krb5oid)) goto out_err;
+ if (write_oid(&p, end, &krb5oid)) goto out_err;
printerr(2, "prepare_krb5_rfc1964_buffer: serializing keys with "
"enctype %d and length %d\n",
struct dirent *best_match_dir = NULL;
struct stat best_match_stat, tmp_stat;
+ memset(&best_match_stat, 0, sizeof(best_match_stat));
*d = NULL;
n = scandir(ccachedir, &namelist, select_krb5_ccache, 0);
if (n < 0) {