]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
wolfssl: remove SSLv3 support leftovers
authorDaniel Stenberg <daniel@haxx.se>
Tue, 18 May 2021 08:05:36 +0000 (10:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 18 May 2021 14:23:17 +0000 (16:23 +0200)
Closes #7088

lib/vtls/wolfssl.c
m4/curl-wolfssl.m4

index ff3c681a741c1f5f06a1f9fb33f3face5254ad96..02fcd236697e4fa3357024a81b4ab46f8d8ce481 100644 (file)
@@ -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;
index ada65726cfef52c003582c20fc4d2992bc2fbdcf..b3e4b95115e2b083effab5c50c8e20f0c7b9cfbf 100644 (file)
@@ -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