summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2021-03-01 19:58:37 (GMT)
committerArkadiusz Miśkiewicz2021-03-01 19:58:37 (GMT)
commit36cc2e65c3900c948b39fd3d81f81cc26fb44e0c (patch)
tree4fffd8b0932272d7b25083e19da37b423f7b950c
parent7ca7ab71d628bdda9df055d9b0fb17c9d0737c83 (diff)
downloaddistfiles-36cc2e65c3900c948b39fd3d81f81cc26fb44e0c.zip
distfiles-36cc2e65c3900c948b39fd3d81f81cc26fb44e0c.tar.gz
Check certificates when fetching files.HEADmaster
-rwxr-xr-xfile-fetcher.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/file-fetcher.pl b/file-fetcher.pl
index 837feb2..4f9ee32 100755
--- a/file-fetcher.pl
+++ b/file-fetcher.pl
@@ -241,9 +241,9 @@ sub fetch_file($$)
my $all_out = "";
my $bn = basename($url);
my $local = "$tmp_dir/$md5/$bn";
- my @cmd = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url);
+ my @cmd = ("wget", "-nv", "--no-iri", "--user-agent=$user_agent", "-O", $local, $url);
my $cmd_joined = join(' ', @cmd);
- my @cmd2 = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
+ my @cmd2 = ("wget", "-nv", "--no-iri", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
my $cmd2_joined = join(' ', @cmd2);
syslog("info","fetch_file($md5,$url)");