[liblwp-protocol-https-perl] 01/02: added patch to fix ssl issue with local proxy
dod at debian.org
dod at debian.org
Tue Jul 15 12:08:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository liblwp-protocol-https-perl.
commit fcd8f9e1c9eb25b71c9462b320fbb9d645a849f7
Author: Dominique Dumont <dod at debian.org>
Date: Tue Jul 15 14:00:39 2014 +0200
added patch to fix ssl issue with local proxy
---
debian/patches/fix-redirect-proxy-ssl | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/fix-redirect-proxy-ssl b/debian/patches/fix-redirect-proxy-ssl
new file mode 100644
index 0000000..22256c2
--- /dev/null
+++ b/debian/patches/fix-redirect-proxy-ssl
@@ -0,0 +1,14 @@
+Description: Explicitly add hostname for SNI to start_SSL
+Bug: https://github.com/libwww-perl/libwww-perl/issues/57
+Forwarded: https://github.com/libwww-perl/libwww-perl/issues/57
+Author: Steffen Ullrich
+--- a/lib/LWP/Protocol/https.pm
++++ b/lib/LWP/Protocol/https.pm
+@@ -153,6 +153,7 @@
+ my ($self,$sock,$url) = @_;
+ $sock = LWP::Protocol::https::Socket->start_SSL( $sock,
+ SSL_verifycn_name => $url->host,
++ SSL_hostname => $url->host,
+ $self->_extra_sock_opts,
+ );
+ $@ = LWP::Protocol::https::Socket->errstr if ! $sock;
diff --git a/debian/patches/series b/debian/patches/series
index 67dbd55..96d2821 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
disable-test-with-internet
+fix-redirect-proxy-ssl
cert.patch
746579-fix-peer-certificate-verification.patch
fix-https-test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblwp-protocol-https-perl.git
More information about the Pkg-perl-cvs-commits
mailing list