summaryrefslogtreecommitdiff
path: root/pkg/transmission/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-02-02 22:45:39 -0800
committerMichael Forney <mforney@mforney.org>2018-02-02 23:25:48 -0800
commita24c242deada8be9c755021e1796dd28bbc85d5a (patch)
tree4551c5a08a26130a7f08c32bf40c76f83bffa611 /pkg/transmission/patch
parentc8c1c2da021ed5392d90201f6c75b9889b23c037 (diff)
transmission: Update to 2.93
Diffstat (limited to 'pkg/transmission/patch')
-rw-r--r--pkg/transmission/patch/0001-Add-support-for-libressl.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/transmission/patch/0001-Add-support-for-libressl.patch b/pkg/transmission/patch/0001-Add-support-for-libressl.patch
new file mode 100644
index 00000000..02b63448
--- /dev/null
+++ b/pkg/transmission/patch/0001-Add-support-for-libressl.patch
@@ -0,0 +1,25 @@
+From 3cfa61174c54ae5c1d93438e02f7e6a863674dae Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Fri, 2 Feb 2018 23:24:39 -0800
+Subject: [PATCH] Add support for libressl
+
+---
+ libtransmission/crypto-utils-openssl.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libtransmission/crypto-utils-openssl.c b/libtransmission/crypto-utils-openssl.c
+index 16a37b205..39cc06cbf 100644
+--- a/libtransmission/crypto-utils-openssl.c
++++ b/libtransmission/crypto-utils-openssl.c
+@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle,
+ ****
+ ***/
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000
++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
+ static inline int
+ DH_set0_pqg (DH * dh,
+ BIGNUM * p,
+--
+2.16.1
+