Commit 92a86a03 authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Mask away NTLMv2 and key exchange flags so we never negotiate it for now.

parent 602e0df9
......@@ -516,6 +516,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
max_len-1, &bin_len)) != SEC_E_OK)
goto isc_end;
/* Mask away the NTLMv2 flag, as well as the key exchange flag */
bin[14] &= ~0x08;
bin[15] &= ~0x40;
/* put the decoded client blob into the out buffer */
ret = SEC_I_CONTINUE_NEEDED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment