projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a7cbc
)
Make sure authorization data in the TGS_REQ is initialized correctly
author
Theodore Tso
<tytso@mit.edu>
Thu, 3 Jun 1993 00:14:42 +0000
(
00:14
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 3 Jun 1993 00:14:42 +0000
(
00:14
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2556
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/send_tgs.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/send_tgs.c
b/src/lib/krb5/krb/send_tgs.c
index 47040d9b5cff549c905cac2d32df5509bcc1c46d..52516e812ee72489f0de18e4a1e0f51c560fff1f 100644
(file)
--- 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);