Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

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.

https://github.com/krb5/krb5/commit/c8e9758db1d8a536a1404187b5911a96f7cdbea3
Author: Greg Hudson <ghudson@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(-)