aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib/Download.pm
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2025-02-20 12:34:00 -0500
committerSlack Coder <slackcoder@server.ky>2025-02-20 14:42:32 -0500
commit857080314ce717ce18c12106947456e7e12958b9 (patch)
tree69132779cd22b7958aadb381534a8ed0af4a1fe2 /SBO-Lib/lib/SBO/Lib/Download.pm
parent3fb953bbf0f299efb21b08ce2a4212a89681c781 (diff)
downloadsbotools2-857080314ce717ce18c12106947456e7e12958b9.tar.xz
Enable HTTPS certificate checking
Expect the user wants to properly use HTTPS if he has defined an HTTPS repository.
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib/Download.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib/Download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib/Download.pm b/SBO-Lib/lib/SBO/Lib/Download.pm
index 331949b..fd337e2 100644
--- a/SBO-Lib/lib/SBO/Lib/Download.pm
+++ b/SBO-Lib/lib/SBO/Lib/Download.pm
@@ -172,7 +172,7 @@ sub get_distfile {
for my $link (@links) {
unlink $filename if -f $filename;
- if (system('wget', '--no-check-certificate', '--tries=5', $link) != 0) {
+ if (system('wget', '--tries=5', $link) != 0) {
if (not %$fail) {
# The failure from the first source is apparently what is important.
$fail = {msg => "Unable to wget $link.\n", err => _ERR_DOWNLOAD};