From 8ee102762525ff7619bc5b9c16f53f4c8537abfc Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 16 Oct 2013 18:00:50 -0700 Subject: Refactor how cipher names are computed --- tests/primitives/test_cryptrec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/primitives/test_cryptrec.py') 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", ) -- cgit v1.2.3