mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
parent
93b3970ad4
commit
7b6d771a19
@ -275,10 +275,6 @@ wolfssl_connect_step1(struct Curl_easy *data, struct connectdata *conn,
|
||||
failf(data, "wolfSSL: TLS 1.3 is not yet supported");
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
#endif
|
||||
case CURL_SSLVERSION_SSLv2:
|
||||
case CURL_SSLVERSION_SSLv3:
|
||||
failf(data, "SSL versions not supported");
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
default:
|
||||
failf(data, "Unrecognized parameter passed via CURLOPT_SSLVERSION");
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
|
@ -124,12 +124,10 @@ if test "x$OPT_WOLFSSL" != xno; then
|
||||
|
||||
LIBS="$addlib -lm $LIBS"
|
||||
|
||||
dnl Recent WolfSSL versions build without SSLv3 by default
|
||||
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
|
||||
AC_CHECK_FUNCS(wolfSSLv3_client_method \
|
||||
wolfSSL_get_peer_certificate \
|
||||
AC_CHECK_FUNCS(wolfSSL_get_peer_certificate \
|
||||
wolfSSL_UseALPN )
|
||||
|
||||
dnl if this symbol is present, we want the include path to include the
|
||||
|
Loading…
Reference in New Issue
Block a user