9bdac2
diff -ru libevent-2.1.12-stable.orig/openssl-compat.h libevent-2.1.12-stable/openssl-compat.h
9bdac2
--- libevent-2.1.12-stable.orig/openssl-compat.h	2020-07-05 14:01:34.000000000 +0200
9bdac2
+++ libevent-2.1.12-stable/openssl-compat.h	2022-03-03 11:07:17.024094244 +0100
9bdac2
@@ -40,7 +40,7 @@
9bdac2
 #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
9bdac2
 	(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */
9bdac2
 
9bdac2
-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L
9bdac2
+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && LIBRESSL_VERSION_NUMBER < 0x3050000fL
9bdac2
 #define BIO_get_init(b) (b)->init
9bdac2
 #endif
9bdac2