aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2017-10-06 07:37:42 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2017-10-06 07:37:42 +0000
commit24bba4045677065354c041b69820a1988bd5944f (patch)
tree439d1ac554299a81f0bbf7ae95fc7a72d46af308 /lib
parent7bc5308db3385cdc31efa8182b58e229eb721994 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/config-win32.h2
1 files changed, 0 insertions, 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 */