/[gentoo-x86]/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch
Gentoo

Contents of /net-misc/proxytunnel/files/proxytunnel-allowTLS.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Jul 8 04:18:22 2015 UTC (4 years, 6 months ago) by vikraman
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Add patch to enable TLS. Fixes bug 551278. Drop old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key B0A72FD2)

1 From 2a26224b5ff103d2b8e2ff7be56e616d1ecde1f4 Mon Sep 17 00:00:00 2001
2 From: wicher <wicher@gavagai.eu>
3 Date: Sun, 26 Apr 2015 13:07:13 +0200
4 Subject: [PATCH] Allow TLS
5
6 ---
7 ptstream.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/ptstream.c b/ptstream.c
11 index 4c87c80..6d55137 100644
12 --- a/ptstream.c
13 +++ b/ptstream.c
14 @@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
15
16 /* Initialise the connection */
17 SSLeay_add_ssl_algorithms();
18 - meth = SSLv3_client_method();
19 + meth = SSLv23_client_method();
20 SSL_load_error_strings();
21
22 ctx = SSL_CTX_new (meth);

  ViewVC Help
Powered by ViewVC 1.1.20