]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openssl: simplify `HAVE_KEYLOG_CALLBACK` guard
authorViktor Szakats <commit@vsz.me>
Thu, 4 Dec 2025 19:28:34 +0000 (20:28 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 4 Dec 2025 21:49:03 +0000 (22:49 +0100)
non-LibreSSL always includes BoringSSL and AWS-LC, no need to check for
them explicitly.

Follow-up to 69c89bf3d3137fcbb2b8bc57233182adcf1e2817 #18330
Closes #19843

lib/vtls/openssl.h

index ff8246b4fae324331812717aab3eaf3f8b720f10..c3ba67a8ff4100f411f7c46b98e22efaa355429c 100644 (file)
@@ -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