From d6644815913e878462aa51c95c84e6d871406e27 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 17 Oct 2013 13:08:01 -0700 Subject: fix --- tests/primitives/test_openssl_vectors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/primitives/test_openssl_vectors.py b/tests/primitives/test_openssl_vectors.py index 5706b16a..86ff7cad 100644 --- a/tests/primitives/test_openssl_vectors.py +++ b/tests/primitives/test_openssl_vectors.py @@ -74,6 +74,8 @@ class TestAESCTR(object): ["aes-128-ctr.txt", "aes-192-ctr.txt", "aes-256-ctr.txt"], lambda key, iv: ciphers.AES(binascii.unhexlify(key)), lambda key, iv: modes.CTR(binascii.unhexlify(iv)), - only_if=lambda api: api.supports_cipher("aes-128-ctr"), + only_if=lambda api: api.supports_cipher( + ciphers.AES("\x00" * 16), modes.CTR("\x00" * 16) + ), skip_message="Does not support AES CTR", ) -- cgit v1.2.3