]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: remove double check for GnuTLS
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jul 2026 06:57:52 +0000 (08:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jul 2026 07:36:21 +0000 (09:36 +0200)
`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
m4/curl-openssl.m4

index 82ded68db4d582ba8c45c97aa2e061d319ba012c..185b1beee89658bf2ba5f3e12978430152d467c5 100644 (file)
@@ -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])
index 96060f841dbe25a36323e30add762f62bd6138fd..d6cb8a67e3823f7eab3e3c7e69605c57facf5ddf 100644 (file)
@@ -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