diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 18:00:50 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 18:00:50 -0700 |
commit | 8ee102762525ff7619bc5b9c16f53f4c8537abfc (patch) | |
tree | 1b30ed1d1a45895c0f979c1869b9b6386213890c /tests/primitives/test_cryptrec.py | |
parent | 169dee88faa7c46b5551b89cf97a1b30c0a1c6ea (diff) | |
download | cryptography-8ee102762525ff7619bc5b9c16f53f4c8537abfc.tar.gz cryptography-8ee102762525ff7619bc5b9c16f53f4c8537abfc.tar.bz2 cryptography-8ee102762525ff7619bc5b9c16f53f4c8537abfc.zip |
Refactor how cipher names are computed
Diffstat (limited to 'tests/primitives/test_cryptrec.py')
-rw-r--r-- | tests/primitives/test_cryptrec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py index edf97652..56eca3a1 100644 --- a/tests/primitives/test_cryptrec.py +++ b/tests/primitives/test_cryptrec.py @@ -37,6 +37,6 @@ class TestCamelliaECB(object): ], lambda key: ciphers.Camellia(binascii.unhexlify((key))), lambda key: modes.ECB(), - only_if=lambda api: api.supports_cipher("camellia-128-ecb"), + only_if=lambda api: api.supports_cipher(ciphers.Camellia("\x00" * 16), modes.ECB()), skip_message="Does not support Camellia ECB", ) |