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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user