From 10514d0076ef4db1d6d77bb61d54a3a2baa67baf Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sat, 3 Apr 2021 01:22:28 +0200 Subject: curl_ntlm_core.h: simplify conditionals for USE_NTLM2SESSION ... as !defined(CURL_DISABLE_CRYPTO_AUTH) is a prerequisite for the whole NTLM. Closes #6849 --- lib/curl_ntlm_core.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/curl_ntlm_core.h b/lib/curl_ntlm_core.h index 75fcdeb16..a5e02b7f8 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 -- cgit v1.2.1