From: Daniel Stenberg Date: Tue, 26 Mar 2019 23:19:15 +0000 (+0100) Subject: Revert "ntlm: remove USE_WIN32_CRYPTO check to get USE_NTLM2SESSION set" X-Git-Tag: curl-7_64_1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07fc5e2925ca4807fdffde2746e80b0ede6a8b7;p=thirdparty%2Fcurl.git Revert "ntlm: remove USE_WIN32_CRYPTO check to get USE_NTLM2SESSION set" This reverts commit 9130ead9fcabdb6b8fbdb37c0b38be2d326adb00. Fixes #3708 --- diff --git a/lib/curl_ntlm_core.h b/lib/curl_ntlm_core.h index 9afb514bba..07ef5deae9 100644 --- a/lib/curl_ntlm_core.h +++ b/lib/curl_ntlm_core.h @@ -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