Skip to content

Commit 9c2b951

Browse files
author
Roland Hedberg
committed
Allow for not specifying a certificate when importing a metadata file over the net.
1 parent dde908b commit 9c2b951

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/saml2/mdstore.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,10 @@ def load(self, typ, *args, **kwargs):
803803
_args[_key] = kwargs[_key]
804804
except KeyError:
805805
pass
806+
807+
if "cert" not in kwargs:
808+
kwargs["cert"] = ""
809+
806810
_md = MetaDataExtern(self.onts, self.attrc,
807811
kwargs["url"], self.security,
808812
kwargs["cert"], self.http, **_args)

0 commit comments

Comments
 (0)