Fix krb5_auth_context.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1141 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-12-17 23:59:27 +00:00
parent 70615987fc
commit ff2c81bb25
3 changed files with 72 additions and 61 deletions

View File

@@ -3,7 +3,7 @@
krb5_error_code
krb5_rd_rep(krb5_context context,
krb5_auth_context *auth_context,
krb5_auth_context auth_context,
const krb5_data *inbuf,
krb5_ap_rep_enc_part **repl)
{
@@ -21,7 +21,7 @@ krb5_rd_rep(krb5_context context,
if (ap_rep.msg_type != krb_ap_rep)
return KRB_AP_ERR_MSG_TYPE;
des_set_key (auth_context->key.contents.data, &schedule);
des_set_key (auth_context->key.contents.data, schedule);
len = ap_rep.enc_part.cipher.length;
buf = malloc (len);
if (buf == NULL)