packages/net/transmission/patches/050-https-portcheck.patch
Rosen Penev a46d0ffb83 transmission: Update to 2.94
Mainly a bugfix for XSS. Patches have been refreshed.

Added an upstream fix for TLS verification. Now enabled by default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-27 15:18:12 -07:00

26 lines
917 B
Diff

From a2991e22434352a3114bf437674070a135b723fd Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Sun, 27 May 2018 13:38:27 -0700
Subject: [PATCH] portcheck: Switch to HTTPS
Useful for testing TLS verification.
---
libtransmission/rpcimpl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libtransmission/rpcimpl.c b/libtransmission/rpcimpl.c
index 46fd3192c..dcd96df59 100644
--- a/libtransmission/rpcimpl.c
+++ b/libtransmission/rpcimpl.c
@@ -1455,7 +1455,7 @@ portTest (tr_session * session,
struct tr_rpc_idle_data * idle_data)
{
const int port = tr_sessionGetPeerPort (session);
- char * url = tr_strdup_printf ("http://portcheck.transmissionbt.com/%d", port);
+ char * url = tr_strdup_printf ("https://portcheck.transmissionbt.com/%d", port);
tr_webRun (session, url, portTested, idle_data);
tr_free (url);
return NULL;
--
2.17.0