From 24bba4045677065354c041b69820a1988bd5944f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 6 Oct 2017 07:37:42 +0000 Subject: lib/config-win32.h: let SMB/SMBS be enabled with OpenSSL/NSS The source code is now prepared to handle the case when both Win32 Crypto and OpenSSL/NSS crypto backends are enabled at the same time, making it now possible to enable `USE_WIN32_CRYPTO` whenever the targeted Windows version supports it. Since this matches the minimum Windows version supported by curl (Windows 2000), enable it unconditionally for the Win32 platform. This in turn enables SMB (and SMBS) protocol support whenever Win32 Crypto is available, regardless of what other crypto backends are enabled. Ref: https://github.com/curl/curl/pull/1840#issuecomment-325682052 Closes https://github.com/curl/curl/pull/1943 --- lib/config-win32.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/config-win32.h b/lib/config-win32.h index 00191fe4c..309f701a9 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -709,9 +709,7 @@ Vista #endif /* Define to use the Windows crypto library. */ -#if !defined(USE_OPENSSL) && !defined(USE_NSS) #define USE_WIN32_CRYPTO -#endif /* ---------------------------------------------------------------- */ /* ADDITIONAL DEFINITIONS */ -- cgit v1.2.1