Commit f078afa6 by Julien Muchembled

Compatibility with pyOpenSSL >= 0.14

1 parent 4387e4e0
......@@ -308,6 +308,7 @@ class NetworkcacheClient(object):
"""
if signature_string:
signature = signature_string.decode('base64')
content = str(content)
for certificate in self.signature_certificate_list:
try:
crypto.verify(certificate, signature, content, 'sha1')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!