File LWP-Protocol-https-6.03-systemca.diff of Package perl-LWP-Protocol-https

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;
openSUSE Build Service is sponsored by