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_setup.h | |
parent | e15e51384a423be31318b3c9c7d612a1aae661fd (diff) | |
download | curl-d80d419d3e3bf0e5f0dea160df5609c57cb3c5df.tar.gz |
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_setup.h')
-rw-r--r-- | lib/curl_setup.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index a86a235b3..82b962b89 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -633,10 +633,11 @@ int netware_init(void); /* Single point where USE_NTLM definition might be defined */ #if !defined(CURL_DISABLE_NTLM) && !defined(CURL_DISABLE_CRYPTO_AUTH) -#if defined(USE_OPENSSL) || defined(USE_WINDOWS_SSPI) || \ - defined(USE_GNUTLS) || defined(USE_NSS) || defined(USE_SECTRANSP) || \ - defined(USE_OS400CRYPTO) || defined(USE_WIN32_CRYPTO) || \ - defined(USE_MBEDTLS) +#if defined(USE_OPENSSL) || defined(USE_WINDOWS_SSPI) || \ + defined(USE_GNUTLS) || defined(USE_NSS) || defined(USE_SECTRANSP) || \ + defined(USE_OS400CRYPTO) || defined(USE_WIN32_CRYPTO) || \ + defined(USE_MBEDTLS) || \ + (defined(USE_WOLFSSL) && defined(HAVE_WOLFSSL_DES_SET_ODD_PARITY)) #define USE_NTLM |