diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2016-02-01 10:18:31 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-03 12:42:01 +0100 |
commit | 9f358f809d1db46f3206d4a09a5366f13c93e777 (patch) | |
tree | dfa95476fff3c1e9d77d79608b744ba29596ae07 /pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch | |
parent | 0876a44169b64d4108fc5b5bd3c96843f94a4990 (diff) |
Configure a default trust store for openssl
Diffstat (limited to 'pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch')
-rw-r--r-- | pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch b/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch deleted file mode 100644 index 4a4b49a829d2c..0000000000000 --- a/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch +++ /dev/null @@ -1,17 +0,0 @@ -Use $SSL_CERT_FILE to get the CA certificates. - -diff -ru -x '*~' LWP-Protocol-https-6.02-orig/lib/LWP/Protocol/https.pm LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm ---- LWP-Protocol-https-6.02-orig/lib/LWP/Protocol/https.pm 2011-03-27 13:54:01.000000000 +0200 -+++ LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm 2011-10-07 13:23:41.398628375 +0200 -@@ -21,6 +21,11 @@ - } - if ($ssl_opts{SSL_verify_mode}) { - unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { -+ if (defined $ENV{'SSL_CERT_FILE'}) { -+ $ssl_opts{SSL_ca_file} = $ENV{'SSL_CERT_FILE'}; -+ } -+ } -+ unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { - eval { - require Mozilla::CA; - }; |