mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:21:40 +03:00
curl_ntlm_core: use wolfCrypt DES API with wolfSSL
Replacing the last uses of the OpenSSL compatibility API, and dropping the redefinition of external symbols. Closes #21247
This commit is contained in:
parent
f974a00aba
commit
a0d5d8fea3
7 changed files with 61 additions and 70 deletions
|
|
@ -1063,9 +1063,9 @@ endmacro()
|
|||
if(USE_WOLFSSL)
|
||||
curl_openssl_check_exists("wolfSSL_get_peer_certificate" HAVE_WOLFSSL_GET_PEER_CERTIFICATE)
|
||||
curl_openssl_check_exists("wolfSSL_UseALPN" HAVE_WOLFSSL_USEALPN)
|
||||
curl_openssl_check_exists("wolfSSL_DES_ecb_encrypt" HAVE_WOLFSSL_DES_ECB_ENCRYPT)
|
||||
curl_openssl_check_exists("wolfSSL_BIO_new" HAVE_WOLFSSL_BIO_NEW)
|
||||
curl_openssl_check_exists("wolfSSL_BIO_set_shutdown" HAVE_WOLFSSL_BIO_SET_SHUTDOWN)
|
||||
curl_openssl_check_exists("wc_Des_EcbEncrypt" HAVE_WC_DES_ECBENCRYPT)
|
||||
endif()
|
||||
|
||||
if(USE_OPENSSL)
|
||||
|
|
@ -1962,7 +1962,7 @@ if(CURL_ENABLE_NTLM AND
|
|||
(USE_MBEDTLS AND HAVE_MBEDTLS_DES_CRYPT_ECB) OR
|
||||
USE_GNUTLS OR
|
||||
USE_WIN32_CRYPTO OR
|
||||
(USE_WOLFSSL AND HAVE_WOLFSSL_DES_ECB_ENCRYPT)))
|
||||
(USE_WOLFSSL AND HAVE_WC_DES_ECBENCRYPT)))
|
||||
set(_use_curl_ntlm_core ON)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue