secur32: Fix ntlm_auth version number check when registering the NTLM SSP.

This commit is contained in:
Kai Blin 2007-02-05 23:51:06 +01:00 committed by Alexandre Julliard
parent 809e4124d7
commit 7325bbd127
1 changed files with 4 additions and 2 deletions

View File

@ -1760,8 +1760,10 @@ void SECUR32_initNTLMSP(void)
check_version(helper);
if( (helper->major > MIN_NTLM_AUTH_MAJOR_VERSION) ||
(helper->major = MIN_NTLM_AUTH_MAJOR_VERSION &&
helper->minor >= MIN_NTLM_AUTH_MINOR_VERSION &&
(helper->major == MIN_NTLM_AUTH_MAJOR_VERSION &&
helper->minor > MIN_NTLM_AUTH_MINOR_VERSION) ||
(helper->major == MIN_NTLM_AUTH_MAJOR_VERSION &&
helper->minor == MIN_NTLM_AUTH_MINOR_VERSION &&
helper->micro >= MIN_NTLM_AUTH_MICRO_VERSION) )
{
SecureProvider *provider = SECUR32_addProvider(&ntlmTableA, &ntlmTableW, NULL);