There isn't really a point to validating cred_handle if it was just
authorTom Yu <tlyu@mit.edu>
Sat, 1 Mar 2003 22:15:22 +0000 (22:15 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 1 Mar 2003 22:15:22 +0000 (22:15 +0000)
commit95d8dd623b6ad9e15cc611d0a26971ac873c7556
tree8ce54c92a89739be4c84221c57d0d5b4cde96347
parentb8042b1df4dce8dfe3b9cf9802ff7655ac8a87c1
There isn't really a point to validating cred_handle if it was just
acquired by acquire_cred(), so instead of the suggested patch,
validate verifier_cred_handle only if we didn't acquire_cred().

* accept_sec_context.c (krb5_gss_accept_sec_context): Don't
validate verifier_cred_handle if GSS_C_NO_CREDENTIAL is passed in.

ticket: 1356

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15211 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/accept_sec_context.c