Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip unnecessary mech calls in gss_inquire_cred()
If the caller does not request a name, lifetime, or cred_usage when calling gss_inquire_cred(), service the call by copying the mechanism list (if requested) but do not call into the mech. This change alleviates an issue (reported by Adam Bernstein) where SPNEGO can fail in the presence of expired krb5 credentials rather than proceeding with a different mechanism, or can resolve a krb5 credential without the benefit of the target name. (cherry picked from commit ff5eb89) ticket: 8373 version_fixed: 1.14.2
- Loading branch information