1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-24 22:06:14 +01:00

- disable sslcertck for http

This commit is contained in:
Marcus Huewe 2010-09-01 12:04:46 +02:00
parent 8bd4e4eddf
commit 2f544dad9f

View File

@ -759,6 +759,9 @@ def get_config(override_conffile = None,
if not 'sslcertck' in api_host_options[apiurl]:
api_host_options[apiurl]['sslcertck'] = True
if scheme == 'http':
api_host_options[apiurl]['sslcertck'] = False
if cp.has_option(url, 'trusted_prj'):
api_host_options[apiurl]['trusted_prj'] = cp.get(url, 'trusted_prj').split(' ')
else: