]> granicus.if.org Git - curl/commitdiff
curl_ntlm_core: don't complain but #include OpenSSL header if needed
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 28 Jul 2017 20:30:59 +0000 (22:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 12:56:58 +0000 (14:56 +0200)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
lib/curl_ntlm_core.h

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