diff options
author | Ruurd Beerstra <ruurd.beerstra@infor.com> | 2020-06-11 17:14:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-16 09:06:19 +0200 |
commit | d80d419d3e3bf0e5f0dea160df5609c57cb3c5df (patch) | |
tree | 103835ad95ff8c5ef1d4c6d72032fe548dde22c9 /lib/curl_ntlm_core.h | |
parent | e15e51384a423be31318b3c9c7d612a1aae661fd (diff) |
ntlm: enable NTLM support with wolfSSL
When wolfSSL is built with its OpenSSL API layer, it fetures the same DES*
functions that OpenSSL has. This change take advantage of that.
Co-authored-by: Daniel Stenberg
Closes #5556
Fixes #5548
Diffstat (limited to 'lib/curl_ntlm_core.h')
-rw-r--r-- | lib/curl_ntlm_core.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/curl_ntlm_core.h b/lib/curl_ntlm_core.h index e1643d627..7895b6470 100644 --- a/lib/curl_ntlm_core.h +++ b/lib/curl_ntlm_core.h @@ -29,6 +29,7 @@ /* If NSS is the first available SSL backend (see order in curl_ntlm_core.c) then it must be initialized to be used by NTLM. */ #if !defined(USE_OPENSSL) && \ + !defined(USE_WOLFSSL) && \ !defined(USE_GNUTLS_NETTLE) && \ !defined(USE_GNUTLS) && \ defined(USE_NSS) @@ -37,7 +38,10 @@ #if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO) -#ifdef USE_OPENSSL +#if defined(USE_OPENSSL) || defined(USE_WOLFSSL) +#ifdef USE_WOLFSSL +# include <wolfssl/options.h> +#endif # include <openssl/ssl.h> #endif |