From: Viktor Szakats Date: Thu, 21 Aug 2025 09:34:21 +0000 (+0200) Subject: openssl: drop redundant version check X-Git-Tag: curl-8_16_0~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d7fddde42d27748397e19cb4008f19b896c69fa;p=thirdparty%2Fcurl.git openssl: drop redundant version check It had a typo, but it wasn't causing an issue, because `TLS1_3_VERSION` is enough to detect this feature and the version check remained unused. Follow-up to 0d3b5937b38817b6fbd2d60cc178c1df4bd59d0d #16477 Cherry-picked from #18330 Closes #18333 --- diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index 54cfc5d663..a6cc4a1858 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -51,7 +51,7 @@ /* Check for OpenSSL 1.1.1 which has early data support. */ #undef HAVE_OPENSSL_EARLYDATA -#if OPENSSL_VERSION_NUMBER >= 0x10100010L && defined(TLS1_3_VERSION) && \ +#if defined(TLS1_3_VERSION) && \ !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC) #define HAVE_OPENSSL_EARLYDATA #endif