From 6e3e4d6b013409f12cf7e5d3de79ba69a3461c79 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 10 2020 02:05:26 +0000 Subject: Apply patch LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch patch_name: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch present_in_specfile: true --- diff --git a/lib/LWP/Protocol/https.pm b/lib/LWP/Protocol/https.pm index ed4d832..65f3907 100644 --- a/lib/LWP/Protocol/https.pm +++ b/lib/LWP/Protocol/https.pm @@ -21,7 +21,7 @@ sub _extra_sock_opts $ssl_opts{SSL_verifycn_scheme} = 'www'; } else { - $ssl_opts{SSL_verify_mode} = 0; + $ssl_opts{SSL_verifycn_scheme} = 'none'; } if ($ssl_opts{SSL_verify_mode}) { unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {