From 1d7fddde42d27748397e19cb4008f19b896c69fa Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 21 Aug 2025 11:34:21 +0200 Subject: [PATCH] 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 --- lib/vtls/openssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3