void-packages/srcpkgs/transmission/patches/libressl.patch

12 lines
382 B
Diff

--- libtransmission/crypto-utils-openssl.c 2018-02-10 11:23:12.597680584 +0100
+++ libtransmission/crypto-utils-openssl.c 2018-02-10 11:27:01.843383653 +0100
@@ -230,7 +230,7 @@
****
***/
-#if OPENSSL_VERSION_NUMBER < 0x10100000
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
static inline int
DH_set0_pqg (DH * dh,
BIGNUM * p,