From: Theodore Tso Date: Thu, 3 Jun 1993 00:14:42 +0000 (+0000) Subject: Make sure authorization data in the TGS_REQ is initialized correctly X-Git-Tag: krb5-1.0-beta3~282 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c48b49f1cf44d7262a21be16591a526c446f067;p=krb5.git Make sure authorization data in the TGS_REQ is initialized correctly git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2556 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/send_tgs.c b/src/lib/krb5/krb/send_tgs.c index 47040d9b5..52516e812 100644 --- a/src/lib/krb5/krb/send_tgs.c +++ b/src/lib/krb5/krb/send_tgs.c @@ -118,6 +118,9 @@ OLDDECLARG(krb5_response *,rep) if (retval = encode_krb5_authdata(authorization_data, &scratch)) return(retval); krb5_use_cstype(&eblock, etype); + tgsreq.authorization_data.etype = etype; + tgsreq.authorization_data.kvno = 0; /* ticket session key has */ + /* no version */ tgsreq.authorization_data.ciphertext.length = krb5_encrypt_size(scratch->length, eblock.crypto_entry);