gss: remove SPNEGO name wrappers

Wrapping GSS names at the SPNEGO level serves no purpose; remove it and return
mechglue names directly. This required a small change to the NTLM mechanism to
allow NULL names to be passed to its release name function.
This commit is contained in:
Luke Howard
2020-01-02 16:30:42 +11:00
parent e80248ed36
commit ae5c60286a
6 changed files with 30 additions and 215 deletions

View File

@@ -41,7 +41,7 @@ _gss_ntlm_release_name
{
if (minor_status)
*minor_status = 0;
if (input_name) {
if (input_name && *input_name) {
ntlm_name n = (ntlm_name)*input_name;
*input_name = GSS_C_NO_NAME;
free(n->user);