Module: wine Branch: master Commit: 92a86a03e289c57d115dd44ee9eb2cc06dd557c3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=92a86a03e289c57d115dd44e...
Author: Kai Blin kai.blin@gmail.com Date: Thu Aug 17 02:11:27 2006 +0200
secur32: Mask away NTLMv2 and key exchange flags so we never negotiate it for now.
---
dlls/secur32/ntlm.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index affc2e5..a132da6 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -516,6 +516,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_In 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;