Fix call to gss_inquire_cred from spnego_gss_acquire_cred_impersonate_name
authorGreg Hudson <ghudson@mit.edu>
Thu, 11 Aug 2011 16:37:55 +0000 (16:37 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 11 Aug 2011 16:37:55 +0000 (16:37 +0000)
commit12a2d660e9d106fb5c7d11bb61b3f956d00f9d17
tree8a12be65ef3283773bfa2ca6684041ed0832dd8f
parent167aed220154427f3a7b5dbb859d93b773c08992
Fix call to gss_inquire_cred from spnego_gss_acquire_cred_impersonate_name

If desired_mechs is NULL (this should never happen when invoked from
the MIT mechglue), we call gss_inquire_cred to get a list of mechs.
This call needs to pass a union cred handle, not the SPNEGO handle we
got as input.  Reported by aberry@likewise.com.

ticket: 6945

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25098 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/spnego/spnego_mech.c