mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +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
|
|
@ -133,19 +133,18 @@ if test "$OPT_WOLFSSL" != "no"; then
|
|||
AC_CHECK_FUNCS([wolfSSL_set_quic_use_legacy_codepoint], [QUIC_ENABLED=yes])
|
||||
|
||||
dnl wolfSSL needs configure --enable-opensslextra to have *get_peer*
|
||||
dnl DES* is needed for NTLM support and lives in the OpenSSL compatibility
|
||||
dnl layer
|
||||
dnl wc_Des_EcbEncrypt is needed for NTLM support.
|
||||
dnl if wolfSSL_BIO_set_shutdown is present, we have the full BIO feature set
|
||||
AC_CHECK_FUNCS(wolfSSL_get_peer_certificate \
|
||||
wolfSSL_UseALPN \
|
||||
wolfSSL_DES_ecb_encrypt \
|
||||
wolfSSL_BIO_new \
|
||||
wolfSSL_BIO_set_shutdown)
|
||||
wolfSSL_BIO_set_shutdown \
|
||||
wc_Des_EcbEncrypt)
|
||||
|
||||
dnl if this symbol is present, we want the include path to include the
|
||||
dnl OpenSSL API root as well
|
||||
if test "$ac_cv_func_wolfSSL_DES_ecb_encrypt" = "yes"; then
|
||||
HAVE_WOLFSSL_DES_ECB_ENCRYPT=1
|
||||
if test "$ac_cv_func_wc_Des_EcbEncrypt" = "yes"; then
|
||||
HAVE_WC_DES_ECBENCRYPT=1
|
||||
fi
|
||||
|
||||
dnl if this symbol is present, we can make use of BIO filter chains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue