nla: context must be NULL on first call to AcceptSecurityContext or InitializeSecurityContext
This commit is contained in:
parent
467816a7a5
commit
cd0a33dbf2
@ -279,8 +279,12 @@ int credssp_auth_authenticate(rdpCredsspAuth* auth)
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Context and input buffer will be null on first call */
|
||||
/* input buffer will be null on first call,
|
||||
* context MUST be NULL on first call */
|
||||
context = &auth->context;
|
||||
if (!auth->context.dwLower && !auth->context.dwUpper)
|
||||
context = NULL;
|
||||
|
||||
input_buffers[0] = auth->input_buffer;
|
||||
|
||||
if (auth->bindings)
|
||||
|
Loading…
Reference in New Issue
Block a user