]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix SPNEGO mechListMIC parsing 1451/head
authordovsyannikov <Dmitry.Ovsyannikov@dell.com>
Wed, 3 Sep 2025 13:52:57 +0000 (13:52 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 8 Sep 2025 20:31:44 +0000 (16:31 -0400)
commit942c5036e14066a1f4badfdf67716c47f2e33a39
tree16538ab630905da14f54d5fe0de916b86914cb71
parenta82922e097563aed650f9a3b17a52e3df12aa49b
Fix SPNEGO mechListMIC parsing

Commit fdceb225f881e2b1337eebcb9a9443fa4a9be3fd erroneously altered
get_negTokenResp() to look for mechListMIC with tag 0xA4 instead of
0xA3.  Fix it.

Restore the t_spnego.c reselection test by constructing a
two-mechanism SPNEGO initiator credential using the internal
structures.

[ghudson@mit.edu: added test case; rewrote commit message]

ticket: 9183 (new)
tags: pullup
target_version: 1.21-next
target_version: 1.22-next
src/lib/gssapi/spnego/spnego_mech.c
src/tests/gssapi/Makefile.in
src/tests/gssapi/deps
src/tests/gssapi/t_spnego.c