From bd2231104be563684aa48cd43ab2ed2d1ee4c5b4 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 12 Dec 2014 19:46:56 +0000 Subject: [PATCH] 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. --- lib/config-win32.h | 2 ++ 1 file changed, 2 insertions(+) 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 */