13 lines
432 B
Diff
13 lines
432 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,8 @@
|
|
****
|
|
***/
|
|
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || \
|
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
static inline int
|
|
DH_set0_pqg (DH * dh,
|
|
BIGNUM * p,
|