]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: fix LibreSSL ngtcp2 1.15.0+ crypto lib selection logic
authorViktor Szakats <commit@vsz.me>
Wed, 11 Mar 2026 16:33:56 +0000 (17:33 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 12 Mar 2026 22:13:03 +0000 (23:13 +0100)
Regression since curl 8.18.0.

Reported-by: Michael Hendricks
Fixes #20889
Regression from 8db0e286b363ad788d6dc0779d605b83c7ed4caf #18189

Closes #20891

configure.ac

index 6d2cb5583bd7cab20ad8d79ed4467c11e691b77d..eb2b84d0bcf1ae94a47970e59524771fbaf7074f 100644 (file)
@@ -3314,8 +3314,8 @@ if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$HAVE_LIBR
   fi
 fi
 
-if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$OPENSSL_IS_BORINGSSL" != "1" &&
-   test "$OPENSSL_QUIC_API2" != "1"; then
+if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$HAVE_LIBRESSL" != "1" &&
+   test "$OPENSSL_IS_BORINGSSL" != "1" && test "$OPENSSL_QUIC_API2" != "1"; then
 
   dnl backup the pre-ngtcp2_crypto_quictls variables
   CLEANLDFLAGS="$LDFLAGS"