summary refs log tree commit diff
path: root/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-31 15:48:17 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-05-31 15:50:51 -0700
commit867d2c5c464fd87268f71942beded17d7e1e5b9c (patch)
treea2bb6204a333321ec0544fa86d44afee962fa30b /pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch
parentafa5859716914cce8e3d8b13a6692c100bd96723 (diff)
downloadnixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar.gz
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar.bz2
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar.lz
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar.xz
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.tar.zst
nixpkgs-867d2c5c464fd87268f71942beded17d7e1e5b9c.zip
openssl: Remove References to OPENSSL_X509_CERT_FILE
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.patch6
1 files changed, 3 insertions, 3 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
index c0fa85ecce8..4a4b49a829d 100644
--- a/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch
+++ b/pkgs/development/perl-modules/lwp-protocol-https-cert-file.patch
@@ -1,4 +1,4 @@
-Use $OPENSSL_X509_CERT_FILE to get the CA certificates.
+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
@@ -7,8 +7,8 @@ diff -ru -x '*~' LWP-Protocol-https-6.02-orig/lib/LWP/Protocol/https.pm LWP-Prot
      }
      if ($ssl_opts{SSL_verify_mode}) {
  	unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
-+            if (defined $ENV{'OPENSSL_X509_CERT_FILE'}) {
-+                $ssl_opts{SSL_ca_file} = $ENV{'OPENSSL_X509_CERT_FILE'};
++            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}) {