From: Viktor Szakats Date: Thu, 4 Dec 2025 19:28:34 +0000 (+0100) Subject: openssl: simplify `HAVE_KEYLOG_CALLBACK` guard X-Git-Tag: rc-8_18_0-1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d042273cde6e4f0fd3ea0af25b37c96356ac9c6;p=thirdparty%2Fcurl.git openssl: simplify `HAVE_KEYLOG_CALLBACK` guard non-LibreSSL always includes BoringSSL and AWS-LC, no need to check for them explicitly. Follow-up to 69c89bf3d3137fcbb2b8bc57233182adcf1e2817 #18330 Closes #19843 --- diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index ff8246b4fa..c3ba67a8ff 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -51,7 +51,7 @@ * BoringSSL: supported since d28f59c27bac (committed 2015-11-19) * LibreSSL: not supported. 3.5.0+ has a stub function that does nothing. */ -#if !defined(LIBRESSL_VERSION_NUMBER) || defined(HAVE_BORINGSSL_LIKE) +#ifndef LIBRESSL_VERSION_NUMBER #define HAVE_KEYLOG_CALLBACK #endif