Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly reflect MS krb5 mech in SPNEGO acceptor
r25590 changed negotiate_mech() to return an alias into the acceptor's mech set, with the unfortunate side effect of transforming the erroneous Microsoft krb5 mech OID into the correct krb5 mech OID, meaning that we answer with a different OID than the requested one. Return an alias into the initiator's mech set instead, and store that in mech_set field the SPNEGO context. The acceptor code only uses mech_set to hold the allocated storage pointed into by internal_mech, so this change is safe. (cherry picked from commit 8255613) ticket: 7858 version_fixed: 1.12.2 status: resolved
- Loading branch information