forked from pool/perl-LWP-Protocol-https
		
	- updated to 6.09
   see /usr/share/doc/packages/perl-LWP-Protocol-https/Changes
  6.09      2020-07-16 13:33:05Z
      - Make available the version of SSL/TLS protocol used in the connection
        (GH#56) (Jon Jensen)
  6.08      2020-03-23 20:19:22Z (TRIAL RELEASE)
      - Add defined check (GH#53) (Mohammad S Anwar)
      - Fix copyright year (GH#55) (Olaf Alders)
      - Upgrade Mozilla::CA dependency; originally #26 by dolmen (GH#54) (Shoichi Kaji)
      - Adds coverage tests (GH#51) (Juan Julin Merelo Guervs)
      - Migrated to DZil (GH PR#30)
      - Moved bug tracking from RT to GitHub (GH#48) (Olaf Alders)
Rebase patch LWP-Protocol-https-6.04-systemca.diff to LWP-Protocol-https-6.09-systemca.diff
OBS-URL: https://build.opensuse.org/request/show/841942
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LWP-Protocol-https?expand=0&rev=17
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
diff -ur LWP-Protocol-https-6.09/lib/LWP/Protocol/https.pm LWP-Protocol-https-6.09_fix/lib/LWP/Protocol/https.pm
 | 
						|
--- LWP-Protocol-https-6.09/lib/LWP/Protocol/https.pm	2020-07-16 15:33:07.000000000 +0200
 | 
						|
+++ LWP-Protocol-https-6.09_fix/lib/LWP/Protocol/https.pm	2020-10-15 15:56:49.380284037 +0200
 | 
						|
@@ -22,7 +22,8 @@
 | 
						|
     else {
 | 
						|
 	$ssl_opts{SSL_verify_mode} = 0;
 | 
						|
     }
 | 
						|
-    if ($ssl_opts{SSL_verify_mode}) {
 | 
						|
+    my $suse_allows_mozilla_ca = 0;
 | 
						|
+    if ($suse_allows_mozilla_ca && $ssl_opts{SSL_verify_mode}) {
 | 
						|
 	unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
 | 
						|
 	    eval {
 | 
						|
 		require Mozilla::CA;
 | 
						|
diff -ur LWP-Protocol-https-6.09/Makefile.PL LWP-Protocol-https-6.09_fix/Makefile.PL
 | 
						|
--- LWP-Protocol-https-6.09/Makefile.PL	2020-07-16 15:33:07.000000000 +0200
 | 
						|
+++ LWP-Protocol-https-6.09_fix/Makefile.PL	2020-10-15 15:56:08.235630479 +0200
 | 
						|
@@ -22,7 +22,6 @@
 | 
						|
     "IO::Socket::SSL" => "1.54",
 | 
						|
     "LWP::Protocol::http" => 0,
 | 
						|
     "LWP::UserAgent" => "6.06",
 | 
						|
-    "Mozilla::CA" => 20180117,
 | 
						|
     "Net::HTTPS" => 6,
 | 
						|
     "base" => 0,
 | 
						|
     "strict" => 0
 |