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
This commit is contained in:
Daniel Stenberg 2026-07-13 08:57:52 +02:00
parent 9494750986
commit d43d24beb1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 1 additions and 2 deletions

View 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])

View 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