]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_ntlm_core.h: simplify conditionals for USE_NTLM2SESSION
authorPatrick Monnerat <patrick@monnerat.net>
Fri, 2 Apr 2021 23:22:28 +0000 (01:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Apr 2021 07:40:36 +0000 (09:40 +0200)
... as !defined(CURL_DISABLE_CRYPTO_AUTH) is a prerequisite for the
whole NTLM.

Closes #6849

lib/curl_ntlm_core.h

index 75fcdeb16e1e90c9753eb52f205167fa297816d2..a5e02b7f8b2fff1e426ab29843199f57180f7244 100644 (file)
@@ -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