From: Tom Yu Date: Wed, 17 Feb 1999 22:23:23 +0000 (+0000) Subject: * do_as_req.c (process_as_req): Fix to assign kvno to X-Git-Tag: krb5-1.1-beta1~359 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8157e459fdae118c88e5c124d0a866378ced115a;p=krb5.git * do_as_req.c (process_as_req): Fix to assign kvno to reply.enc_part after encryption, since krb5_c_encrypt() now explicitly initializes all fields of a krb5_enc_data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11175 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index d593227df..398b55e47 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 17 17:07:43 1999 Tom Yu + + * do_as_req.c (process_as_req): Fix to assign kvno to + reply.enc_part after encryption, since krb5_c_encrypt() now + explicitly initializes all fields of a krb5_enc_data. + 1998-12-17 Theodore Ts'o * kdc_preauth.c (check_padata): If preauth fails because the diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index b6fa39d3d..34eeb66c1 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -379,7 +379,6 @@ krb5_data **response; /* filled in with a response packet */ reply_encpart.times.authtime = authtime = kdc_time; reply_encpart.caddrs = enc_tkt_reply.caddrs; - reply.enc_part.kvno = client_key->key_data_kvno; /* Fetch the padata info to be returned */ errcode = return_padata(kdc_context, &client, request, &reply, client_key, @@ -397,6 +396,7 @@ krb5_data **response; /* filled in with a response packet */ 0, &encrypting_key, &reply, response); krb5_free_keyblock_contents(kdc_context, &encrypting_key); encrypting_key.contents = 0; + reply.enc_part.kvno = client_key->key_data_kvno; if (errcode) { status = "ENCODE_KDC_REP";