summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-18 10:05:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-18 16:23:17 +0200
commit7b6d771a193f21be93e6f70a85b0ad03f6ab8bcb (patch)
treee352f0d1e1f309ba39e0efd6cf1ea480ce3ef7c5
parent93b3970ad47f66a621be1581c1f98fe960a5a5cc (diff)
downloadcurl-7b6d771a193f21be93e6f70a85b0ad03f6ab8bcb.tar.gz
wolfssl: remove SSLv3 support leftovers
Closes #7088
-rw-r--r--lib/vtls/wolfssl.c4
-rw-r--r--m4/curl-wolfssl.m44
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c
index ff3c681a7..02fcd2366 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 ada65726c..b3e4b9511 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