From d43d24beb1188d1bcf0cc34450b9af96889b7f9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 13 Jul 2026 08:57:52 +0200 Subject: [PATCH] configure: remove double check for GnuTLS `GNUTLS_ENABLED` was checked twice in the HTTPS-proxy support block, making the second check redundant. - also fix the "or upper" phrasing which is hard to understand Pointed out by the GitHub AI thing Closes #22307 --- configure.ac | 1 - m4/curl-openssl.m4 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 82ded68db4..185b1beee8 100644 --- a/configure.ac +++ b/configure.ac @@ -5276,7 +5276,6 @@ if test "$CURL_DISABLE_HTTP" != "1"; then test "$GNUTLS_ENABLED" = "1" || test "$RUSTLS_ENABLED" = "1" || test "$SCHANNEL_ENABLED" = "1" || - test "$GNUTLS_ENABLED" = "1" || test "$MBEDTLS_ENABLED" = "1"; then SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" AC_MSG_RESULT([yes]) diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4 index 96060f841d..d6cb8a67e3 100644 --- a/m4/curl-openssl.m4 +++ b/m4/curl-openssl.m4 @@ -289,7 +289,7 @@ if test "x$OPT_OPENSSL" != "xno"; then #endif ]]) ],[],[ - AC_MSG_ERROR([OpenSSL 3.0.0 or upper required.]) + AC_MSG_ERROR([OpenSSL 3.0.0 or later required.]) ]) fi fi