summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1993-06-03 00:14:42 +0000
committerTheodore Tso <tytso@mit.edu>1993-06-03 00:14:42 +0000
commit3c48b49f1cf44d7262a21be16591a526c446f067 (patch)
tree91778c42ded40c4b6c8e1f3916ebf6f5d66bdcf6 /src/lib
parent55a7cbc5a5d3e97802a959b6ef73cd916da48688 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/send_tgs.c3
1 files changed, 3 insertions, 0 deletions
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);