From 5c9c534d1546336959524174f9234e019cb7a2e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Fri, 30 Oct 2015 16:29:35 +0100 Subject: [PATCH] candi: allow insecure ssl downloads for curl --- candi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candi.sh b/candi.sh index bcb0a9d..d1977ed 100755 --- a/candi.sh +++ b/candi.sh @@ -216,7 +216,7 @@ download_archive () { # Download. # If curl or wget is failing, continue this loop for trying an other mirror. if [ ${DOWNLOADER} = "curl" ] && [ ${CURL_DOWNLOADER_AVAILABLE} = "true" ] ; then - curl -O ${url} || continue + curl -k -O ${url} || continue else wget --no-check-certificate ${url} -O ${ARCHIVE_FILE} || continue fi -- 2.39.5