rpmmd: add IgnoreSSL key to RepoConfig

This is the opposite of dnf.conf's `sslverify`, because go's default for
booleans is always false. This is error prone: we'd like to default to
true.
This commit is contained in:
Lars Karlitski 2019-12-12 01:30:08 +01:00 committed by Tom Gundersen
parent 2b42612336
commit 305b2dda5c
3 changed files with 6 additions and 1 deletions

View file

@ -29,6 +29,9 @@ def dnfrepo(desc, parent_conf=None):
else:
assert False
if desc.get("ignoressl", False):
repo.sslverify = False
return repo