* rd_cred.c (krb5_rd_cred_basic): When the keyblock is NULL, assume
authorTheodore Tso <tytso@mit.edu>
Thu, 4 Jan 1996 02:44:21 +0000 (02:44 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 4 Jan 1996 02:44:21 +0000 (02:44 +0000)
commitccfc9a62a43de47fb236c36935bab8d1967b1f54
treefe3f499a26eb164f7da2bb4f7052165fa1a8382d
parent0f5bf9b372ec8a64f4353f16a58d8bd8f1b2d826
* rd_cred.c (krb5_rd_cred_basic): When the keyblock is NULL, assume
we're being called from the gssapi code, which doesn't have access to
the sender or receive address information, don't check the sender
address, since it won't be available.

* rd_cred.c (decrypt_credencdata): When calling krb5_rd_credd(), if
the keyblock is null, just copy the encoded structure from the
"ciphertext" part of the structure and decode it.

* mk_cred.c (encrypt_credencpart): When calling krb5_mk_cred(), if the
keyblock is NULL, don't encrypt it; just encode it and leave it in the
ciphertext area of the structure.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7264 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/mk_cred.c
src/lib/krb5/krb/rd_cred.c