[liblwp-protocol-https-perl] 01/02: added patch to fix test broken by 746579-fix-peer-* patch

dod at debian.org dod at debian.org
Thu Jul 10 17:27:01 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 4c0cfe2d9dfa7f4007ed6b24fcc800f7da78885c
Author: Dominique Dumont <dod at debian.org>
Date:   Thu Jul 10 19:10:11 2014 +0200

    added patch to fix test broken by 746579-fix-peer-* patch
---
 debian/patches/fix-https-test | 19 +++++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/fix-https-test b/debian/patches/fix-https-test
new file mode 100644
index 0000000..d94faff
--- /dev/null
+++ b/debian/patches/fix-https-test
@@ -0,0 +1,19 @@
+Description: Fix https test
+ fix https test after patch
+ 746579-fix-peer-certificate-verification.patch 
+ kinda breaks it.
+Author: dod after carnil
+--- a/t/https_proxy.t
++++ b/t/https_proxy.t
+@@ -66,7 +66,10 @@
+ $ua{noproxy} = LWP::UserAgent->new(
+     keep_alive => 10, # size of connection cache
+     # server does not know the expected name and returns generic certificate
+-    ssl_opts => { verify_hostname => 0 }
++    ssl_opts => {
++        verify_hostname => 0,
++        SSL_ca_file => $cafile,
++    }
+ );
+ 
+ $ua{proxy} = LWP::UserAgent->new(
diff --git a/debian/patches/series b/debian/patches/series
index 32917e9..67dbd55 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 disable-test-with-internet
 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