]> git.ipfire.org Git - thirdparty/krb5.git/commit
Update SPNEGO hintName value to current spec 319/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 21 Aug 2015 22:48:06 +0000 (18:48 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 25 Aug 2015 04:22:40 +0000 (00:22 -0400)
commitc8e9758db1d8a536a1404187b5911a96f7cdbea3
tree229a7ffabe02beabc6034274258afc0755b101d1
parent382556f580e3b7fb8469976988c50b67bba51f26
Update SPNEGO hintName value to current spec

[MS-SPNG] currently specifies that the hintName field of NegHints
should contain "not_defined_in_RFC4178@please_ignore".  Heimdal
implements this behavior, but we instead try to include a display
name.  Implement the currently specified behavior, and add a test to
t_spnego.c to verify that the expected hint token is generated.

Further cleanup is possible; the negHints encoding is now constant (so
it does not need to be generated dynamically), and we could avoid
abusing the mechListMIC parameter of make_spnego_tokenInit_msg() to
transport it.

ticket: 8236 (new)
src/lib/gssapi/spnego/spnego_mech.c
src/tests/gssapi/t_spnego.c