diff options
author | David Reid <dreid@dreid.org> | 2014-01-03 16:02:51 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-01-03 16:02:51 -0800 |
commit | 24c9a8d153ed7b1520a87d2ad22d9e9b26f272b8 (patch) | |
tree | dc1ea9ab698f092f1310d6adf8077f1ef9ad95d5 /tests/hazmat/backends | |
parent | f96db83a64bb0ac40d04d27383d7c2defbcec491 (diff) | |
parent | 267dbc946b4584b7b4ed10a439b2820d3b048356 (diff) | |
download | cryptography-24c9a8d153ed7b1520a87d2ad22d9e9b26f272b8.tar.gz cryptography-24c9a8d153ed7b1520a87d2ad22d9e9b26f272b8.tar.bz2 cryptography-24c9a8d153ed7b1520a87d2ad22d9e9b26f272b8.zip |
Merge pull request #272 from alex/validate-iv
Validate the IV/nonce length for a given algorithm.
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 22cfbe71..ad399594 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): |