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

This commit is contained in:
Kai Blin 2006-08-17 02:11:27 +02:00 committed by Alexandre Julliard
parent 602e0df9f6
commit 92a86a03e2

View File

@ -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;