[liblwpx-paranoidagent-perl] 25/26: Added patch for passing the right parameters through IO::Socket::SSL (Closes: #761635)

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 8 11:47:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository liblwpx-paranoidagent-perl.

commit 5faf0e945df09b583bae87eb4b18c66a3d8f5e8c
Author: Hilko Bengen <bengen at debian.org>
Date:   Tue Nov 18 22:22:13 2014 +0100

    Added patch for passing the right parameters through IO::Socket::SSL (Closes: #761635)
---
 debian/patches/0003-Fix-SNI-for-IO-Socket-SSL.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0003-Fix-SNI-for-IO-Socket-SSL.patch b/debian/patches/0003-Fix-SNI-for-IO-Socket-SSL.patch
new file mode 100644
index 0000000..b1daadd
--- /dev/null
+++ b/debian/patches/0003-Fix-SNI-for-IO-Socket-SSL.patch
@@ -0,0 +1,21 @@
+From: Hilko Bengen <bengen at debian.org>
+Date: Tue, 18 Nov 2014 22:20:32 +0100
+Subject: Fix SNI for IO::Socket::SSL
+
+Source: <http://ikiwiki.info/plugins/openid/troubleshooting/>
+---
+ lib/LWPx/Protocol/http_paranoid.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/LWPx/Protocol/http_paranoid.pm b/lib/LWPx/Protocol/http_paranoid.pm
+index 13d8504..23a23c5 100644
+--- a/lib/LWPx/Protocol/http_paranoid.pm
++++ b/lib/LWPx/Protocol/http_paranoid.pm
+@@ -68,6 +68,7 @@ sub _new_socket
+             $timeout;
+         $sock = $self->socket_class->new(PeerAddr => $addr,
+                                          PeerHost => $host,
++                                         SSL_hostname => $host,
+                                          PeerPort => $port,
+                                          Proto    => 'tcp',
+                                          Timeout  => $conn_timeout,
diff --git a/debian/patches/series b/debian/patches/series
index 079d74f..e951f59 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Fix-HTTPS.patch
 0002-Use-ca-certificates.patch
+0003-Fix-SNI-for-IO-Socket-SSL.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblwpx-paranoidagent-perl.git



More information about the Pkg-perl-cvs-commits mailing list