diff options
Diffstat (limited to 'tests/hazmat/backends')
| -rw-r--r-- | tests/hazmat/backends/test_openssl.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 543a05fe..23f9bff1 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -27,6 +27,9 @@ from cryptography.hazmat.primitives.ciphers.modes import CBC  class DummyMode(object):      name = "dummy-mode" +    def validate_for_algorithm(self, algorithm): +        pass +  @utils.register_interface(interfaces.CipherAlgorithm)  class DummyCipher(object):  | 
