73533b0c69
- updated to 6.03 * Skip test if offline [RT#74163] * Typo fixes * Restore perl-5.8.1 compatibility. OBS-URL: https://build.opensuse.org/request/show/106295 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LWP-Protocol-https?expand=0&rev=5
13 lines
597 B
Diff
13 lines
597 B
Diff
Index: LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm
|
|
===================================================================
|
|
--- LWP-Protocol-https-6.03.orig/lib/LWP/Protocol/https.pm 2012-02-18 23:53:36.000000000 +0100
|
|
+++ LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm 2012-02-21 12:32:56.614080436 +0100
|
|
@@ -20,6 +20,7 @@ sub _extra_sock_opts
|
|
$ssl_opts{SSL_verifycn_scheme} = 'www';
|
|
}
|
|
if ($ssl_opts{SSL_verify_mode}) {
|
|
+ $ssl_opts{SSL_ca_path} ||= '/etc/ssl/certs';
|
|
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
|
|
eval {
|
|
require Mozilla::CA;
|