[krbdev.mit.edu #8236] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Aug 25 00:29:50 EDT 2015


Update SPNEGO hintName value to current spec

[MS-SPNG] currently specifies that the hintName field of NegHints
should contain "not_defined_in_RFC4178 at 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.

https://github.com/krb5/krb5/commit/c8e9758db1d8a536a1404187b5911a96f7cdbea3
Author: Greg Hudson <ghudson at mit.edu>
Commit: c8e9758db1d8a536a1404187b5911a96f7cdbea3
Branch: master
 src/lib/gssapi/spnego/spnego_mech.c |   98 ++++-------------------------------
 src/tests/gssapi/t_spnego.c         |   38 +++++++++++++
 2 files changed, 49 insertions(+), 87 deletions(-)



More information about the krb5-bugs mailing list