]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openssl: drop redundant version check
authorViktor Szakats <commit@vsz.me>
Thu, 21 Aug 2025 09:34:21 +0000 (11:34 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 21 Aug 2025 11:11:32 +0000 (13:11 +0200)
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

index 54cfc5d663283173467718f9d2695c765ac3682b..a6cc4a1858a2549a3b19e8a907b340a0b3188b83 100644 (file)
@@ -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