diff --git a/mail/fetchmail/files/patch-LibreSSL b/mail/fetchmail/files/patch-LibreSSL new file mode 100644 index 000000000000..15bb350256f2 --- /dev/null +++ b/mail/fetchmail/files/patch-LibreSSL @@ -0,0 +1,14 @@ +$OpenBSD: patch-tls-aux_h,v 1.1 2021/07/29 10:44:07 sthen Exp $ + +Index: tls-aux.h +--- tls-aux.h.orig ++++ tls-aux.h +@@ -8,7 +8,7 @@ + #ifdef SSL_ENABLE + #include + +-# if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x1010000fL ++# if OPENSSL_VERSION_NUMBER < 0x1010000fL + # undef OSSL110_API + # else + # define OSSL110_API 1 diff --git a/security/p5-Net-SSLeay/files/patch-LibreSSL b/security/p5-Net-SSLeay/files/patch-LibreSSL new file mode 100644 index 000000000000..f8a126cb47b1 --- /dev/null +++ b/security/p5-Net-SSLeay/files/patch-LibreSSL @@ -0,0 +1,16 @@ +$OpenBSD: patch-SSLeay_xs,v 1.3 2021/09/01 15:04:37 bluhm Exp $ + +https://github.com/radiator-software/p5-net-ssleay/pull/285/commits/3cea3697bfc75ab3e5f4725eb1588ed9c4bff27a + +Index: SSLeay.xs +--- SSLeay.xs.orig ++++ SSLeay.xs +@@ -6172,7 +6172,7 @@ SSL_total_renegotiations(ssl) + OUTPUT: + RETVAL + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL) + void + SSL_SESSION_get_master_key(s) + SSL_SESSION * s