Allow to download dependencies from insecure connections
SSL connections done by Curl will be attempted to be made secure by using the CA certificated bundle but when the connection can be established but not secured, Curl will not fail. Change-Id: Id2fb1e3b65aed3e3334b2db302d028181ebd1e81
This commit is contained in:
@@ -115,7 +115,7 @@ if not path.exists(cache_ent):
|
||||
|
||||
print('Download %s' % src_url, file=stderr)
|
||||
try:
|
||||
check_call(['curl', '--proxy-anyauth', '-sfo', cache_ent, src_url])
|
||||
check_call(['curl', '--proxy-anyauth', '-ksfo', cache_ent, src_url])
|
||||
except OSError as err:
|
||||
print('could not invoke curl: %s\nis curl installed?' % err, file=stderr)
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user