summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/download.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0350de00..4e5e54ee 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- make sure we don't check certificate in aria2 except when we want to
- exclude kernel-source from orphan processing (#53426)
Version 6.28.1 - 3 September 2009
diff --git a/urpm/download.pm b/urpm/download.pm
index 39d63a02..83c6767d 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -683,6 +683,7 @@ sub sync_aria2 {
($options->{'limit-rate'} ? "--max-download-limit=" . $options->{'limit-rate'} : ()),
($options->{resume} ? "--continue" : "--allow-overwrite=true"),
($options->{proxy} ? set_proxy({ type => "aria2", proxy => $options->{proxy} }) : ()),
+ ($options->{"strict-certificate-check"} ? () : "--check-certificate=false"),
(defined $options->{'aria2-options'} ? split /\s+/, $options->{'aria2-options'} : ()),
_create_metalink_($urpm, $medium, $rel_files, $options));