aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-12 19:46:56 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-12 19:57:00 +0000
commitbd2231104be563684aa48cd43ab2ed2d1ee4c5b4 (patch)
treee6ce5668f336e73494a5c5614b919de9a2cf0e4a /lib/config-win32.h
parent8a4ce7d0f5322f22d9b45539b06750dc5c9641b2 (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.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h2
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 */