[liblwp-protocol-https-perl] 09/10: refresh cert.patch
dod at debian.org
dod at debian.org
Fri Jul 14 17:26:01 UTC 2017
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 7df1ebf4c4c57de80803f58604c250b97299d621
Author: Dominique Dumont <dod at debian.org>
Date: Fri Jul 14 19:16:09 2017 +0200
refresh cert.patch
---
debian/patches/cert.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/cert.patch b/debian/patches/cert.patch
index 30c28d6..020ca4f 100644
--- a/debian/patches/cert.patch
+++ b/debian/patches/cert.patch
@@ -15,7 +15,7 @@ Last-Update: 2012-02-20
- require Mozilla::CA;
- };
- if ($@) {
-- if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
+- if ($@ =~ /^Can't locate Mozilla\/CA\.pm/) {
- $@ = <<'EOT';
-Can't verify SSL peers without knowing which Certificate Authorities to trust
-
@@ -30,7 +30,7 @@ Last-Update: 2012-02-20
- die $@;
- }
- $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file();
-+ $ssl_opts{SSL_ca_file} = '/etc/ssl/certs/ca-certificates.crt';
++ $ssl_opts{SSL_ca_file} = '/etc/ssl/certs/ca-certificates.crt';
}
}
$self->{ssl_opts} = \%ssl_opts;
--
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