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

Do not try to verify empty signature.

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