]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set
authorChristian Schmitz <support@monkeybreadsoftware.de>
Tue, 26 Mar 2019 08:53:03 +0000 (09:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Nov 2019 22:14:02 +0000 (23:14 +0100)
Closes #3704

lib/curl_ntlm_core.h

index 3b4b8053c3e6ab35da65175f7788ee5bdf577aff..392a1b81de082db954c8e77ef31b8dab08090c1b 100644 (file)
@@ -48,7 +48,9 @@
 /* Define USE_NTLM2SESSION in order to make the type-3 message include the
    NTLM2Session response message, requires USE_NTRESPONSES defined to 1 and a
    Crypto engine that we have curl_ssl_md5sum() for. */
-#if defined(USE_NTRESPONSES) && !defined(USE_WIN32_CRYPTO)
+#if defined(USE_NTRESPONSES) && \
+  (!defined(USE_WIN32_CRYPTO) || \
+  (defined(USE_SSL) && !defined(CURL_DISABLE_CRYPTO_AUTH)))
 #define USE_NTLM2SESSION
 #endif