perl/perl-cpan_verify_cert.diff
2024-02-05 14:47:08 +08:00

10 lines
357 B
Diff

--- cpan/CPAN/lib/CPAN/HTTP/Client.pm.orig 2023-07-05 12:31:35.911871898 +0000
+++ cpan/CPAN/lib/CPAN/HTTP/Client.pm 2023-07-05 12:32:00.863830857 +0000
@@ -32,6 +32,7 @@ sub mirror {
my $want_proxy = $self->_want_proxy($uri);
my $http = HTTP::Tiny->new(
+ verify_SSL => 1,
$want_proxy ? (proxy => $self->{proxy}) : ()
);