From 3c48b49f1cf44d7262a21be16591a526c446f067 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 3 Jun 1993 00:14:42 +0000 Subject: [PATCH] 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 --- src/lib/krb5/krb/send_tgs.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.26.2