1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

curl_ntlm_core: don't complain but #include OpenSSL header if needed

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2017-07-28 22:30:59 +02:00 committed by Daniel Stenberg
parent 70f1db321a
commit a243ce7ab2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -29,10 +29,7 @@
#if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO) #if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO)
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
# if !defined(OPENSSL_VERSION_NUMBER) && \ # include <openssl/ssl.h>
!defined(HEADER_SSL_H) && !defined(HEADER_MD5_H)
# error "curl_ntlm_core.h shall not be included before OpenSSL headers."
# endif
#endif #endif
/* Define USE_NTRESPONSES in order to make the type-3 message include /* Define USE_NTRESPONSES in order to make the type-3 message include