diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-12 19:46:56 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-12 19:57:00 +0000 |
commit | bd2231104be563684aa48cd43ab2ed2d1ee4c5b4 (patch) | |
tree | e6ce5668f336e73494a5c5614b919de9a2cf0e4a | |
parent | 8a4ce7d0f5322f22d9b45539b06750dc5c9641b2 (diff) |
config-win32.h: Don't enable Windows Crypt API if using OpenSSL
As the OpenSSL and NSS Crypto engines are prefered by the core NTLM
routines, to the Windows Crypt API, don't define USE_WIN32_CRYPT
automatically when either OpenSSL or NSS are in use - doing so would
disable NTLM2Session responses in NTLM type-3 messages.
-rw-r--r-- | lib/config-win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index ba3e7a708..95f1595be 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -700,7 +700,9 @@ #endif /* Define to use the Windows crypto library. */ +#if !defined(USE_SSLEAY) && !defined(USE_NSS) #define USE_WIN32_CRYPTO +#endif /* ---------------------------------------------------------------- */ /* ADDITIONAL DEFINITIONS */ |