]> granicus.if.org Git - curl/commitdiff
Revert "ntlm: remove USE_WIN32_CRYPTO check to get USE_NTLM2SESSION set"
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Mar 2019 23:19:15 +0000 (00:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Mar 2019 23:19:15 +0000 (00:19 +0100)
This reverts commit 9130ead9fcabdb6b8fbdb37c0b38be2d326adb00.

Fixes #3708

lib/curl_ntlm_core.h

index 9afb514bba7b83e6f18d61c10ea8fb308ab0e921..07ef5deae9b1e4044dff88cf60e3fc36a62590af 100644 (file)
@@ -50,7 +50,7 @@
 /* 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)
+#if defined(USE_NTRESPONSES) && !defined(USE_WIN32_CRYPTO)
 #define USE_NTLM2SESSION
 #endif