Commit 9a6365ae authored by Łukasz Nowak's avatar Łukasz Nowak

Support case when no certificate is passed.

parent d34817db
...@@ -189,6 +189,7 @@ class NetworkcacheClient(object): ...@@ -189,6 +189,7 @@ class NetworkcacheClient(object):
Returns true if it can find any valid certificate or false if it does not Returns true if it can find any valid certificate or false if it does not
find any. find any.
""" """
if self.signature_certificate_list is not None:
for certificate in self.signature_certificate_list: for certificate in self.signature_certificate_list:
if self._verifySignatureCertificate(signature_string, certificate): if self._verifySignatureCertificate(signature_string, certificate):
return True return True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment