configure: fix LibreSSL ngtcp2 1.15.0+ crypto lib selection logic

Regression since curl 8.18.0.

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

Closes #20891
This commit is contained in:
Viktor Szakats 2026-03-11 17:33:56 +01:00
parent 210d8eca5b
commit 666db80196
No known key found for this signature in database

View 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"