diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c index ff3c681a74..02fcd23669 100644 --- a/lib/vtls/wolfssl.c +++ b/lib/vtls/wolfssl.c @@ -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; diff --git a/m4/curl-wolfssl.m4 b/m4/curl-wolfssl.m4 index ada65726cf..b3e4b95115 100644 --- a/m4/curl-wolfssl.m4 +++ b/m4/curl-wolfssl.m4 @@ -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