(spnego_reply): if the reply token was of length 0, make it the same
as no token. Pointed out by Zeqing Xia. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22598 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -480,7 +480,8 @@ spnego_reply
|
||||
return GSS_S_BAD_MECH;
|
||||
}
|
||||
|
||||
if (resp.responseToken != NULL ||
|
||||
/* if a token (of non zero length), or no context, pass to underlaying mech */
|
||||
if ((resp.responseToken != NULL && resp.responseToken->length) ||
|
||||
ctx->negotiated_ctx_id == GSS_C_NO_CONTEXT) {
|
||||
gss_buffer_desc mech_input_token;
|
||||
|
||||
|
Reference in New Issue
Block a user