diff options
| author | Greg Hudson <ghudson@mit.edu> | 2014-02-03 21:11:34 -0500 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2014-02-05 00:40:20 -0500 |
| commit | 8255613476d4c1583a5e810b50444f188fde871f (patch) | |
| tree | 6ca61517376608d5dd14c6f76c786e5b1311e391 /src/tests | |
| parent | 3c3638e1cfafa6ec5595e6c2c06ca209cf9d0d09 (diff) | |
| download | krb5-8255613476d4c1583a5e810b50444f188fde871f.tar.gz krb5-8255613476d4c1583a5e810b50444f188fde871f.tar.xz krb5-8255613476d4c1583a5e810b50444f188fde871f.zip | |
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.
ticket: 7858
target_version: 1.12.2
tags: pullup
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions
