+Thu Feb 9 17:43:04 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * gc_via_tgt.c (krb5_get_cred_via_tgt): Set up the keyblock's
+ etype field correctly (after copying the keyblock, so it
+ doesn't get overwritten!)
+
Mon Feb 06 17:19:04 1995 Chris Provenzano (proven@mit.edu)
* get_in_tkt.c (krb5_get_in_tkt())
memset(&cred->keyblock.contents, 0, cred->keyblock.length);
krb5_xfree(cred->keyblock.contents);
}
- cred->keyblock.magic = KV5M_KEYBLOCK;
- cred->keyblock.etype = dec_rep->ticket->enc_part.etype;
if (retval = krb5_copy_keyblock_contents(context, dec_rep->enc_part2->session,
&cred->keyblock)) {
cleanup();
return retval;
}
+ cred->keyblock.etype = dec_rep->ticket->enc_part.etype;
memset((char *)dec_rep->enc_part2->session->contents, 0,
dec_rep->enc_part2->session->length);