From: Patrick Monnerat Date: Fri, 2 Apr 2021 23:22:28 +0000 (+0200) Subject: curl_ntlm_core.h: simplify conditionals for USE_NTLM2SESSION X-Git-Tag: curl-7_76_1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10514d0076ef4db1d6d77bb61d54a3a2baa67baf;p=thirdparty%2Fcurl.git curl_ntlm_core.h: simplify conditionals for USE_NTLM2SESSION ... as !defined(CURL_DISABLE_CRYPTO_AUTH) is a prerequisite for the whole NTLM. Closes #6849 --- diff --git a/lib/curl_ntlm_core.h b/lib/curl_ntlm_core.h index 75fcdeb16e..a5e02b7f8b 100644 --- a/lib/curl_ntlm_core.h +++ b/lib/curl_ntlm_core.h @@ -47,9 +47,8 @@ #define USE_NTRESPONSES /* Define USE_NTLM2SESSION in order to make the type-3 message include the - NTLM2Session response message, requires USE_NTRESPONSES defined to 1 and - MD5 support */ -#if defined(USE_NTRESPONSES) && !defined(CURL_DISABLE_CRYPTO_AUTH) + NTLM2Session response message, requires USE_NTRESPONSES defined to 1 */ +#if defined(USE_NTRESPONSES) #define USE_NTLM2SESSION #endif