Commit 1e600906 authored by Łukasz Nowak's avatar Łukasz Nowak

Do not try to verify empty signature.

parent ee49736b
......@@ -213,6 +213,7 @@ class NetworkcacheClient(object):
filtered_data_list = []
if self.signature_certificate_list is not None:
for data in data_list:
if len(data[1]):
if self._verifySignatureInCertificateList(data[0], data[1]):
filtered_data_list.append(data)
else:
......
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