mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
nla: context must be NULL on first call to AcceptSecurityContext or InitializeSecurityContext
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user