1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set

Closes #3704
This commit is contained in:
Christian Schmitz 2019-03-26 09:53:03 +01:00 committed by Daniel Stenberg
parent 93738efe16
commit 93213b2421
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -48,7 +48,9 @@
/* 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) && !defined(USE_WIN32_CRYPTO)
#if defined(USE_NTRESPONSES) && \
(!defined(USE_WIN32_CRYPTO) || \
(defined(USE_SSL) && !defined(CURL_DISABLE_CRYPTO_AUTH)))
#define USE_NTLM2SESSION
#endif