From 22eb4c91914cd2f0ad2cb67ad27e5bfb60400492 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 27 Oct 2014 10:24:43 -0700 Subject: Added attributes that are part of hte interface to several test fakes --- tests/hazmat/backends/test_openssl.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/hazmat/backends/test_openssl.py') diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 39708f82..ebd8686c 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -52,6 +52,7 @@ class DummyMode(object): @utils.register_interface(interfaces.CipherAlgorithm) class DummyCipher(object): name = "dummy-cipher" + key_size = None @utils.register_interface(interfaces.AsymmetricPadding) @@ -62,6 +63,8 @@ class DummyPadding(object): @utils.register_interface(interfaces.HashAlgorithm) class DummyHash(object): name = "dummy-hash" + block_size = None + digest_size = None class DummyMGF(object): -- cgit v1.2.3