From 33574c6ee06c59d22721c7a7acb503c1bef08289 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 8 Jul 2017 11:09:53 -0500 Subject: change chacha20poly1305_supported to aead_cipher_supported (#3762) --- tests/hazmat/primitives/test_aead.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/hazmat/primitives/test_aead.py b/tests/hazmat/primitives/test_aead.py index aea2380b..bf1e8208 100644 --- a/tests/hazmat/primitives/test_aead.py +++ b/tests/hazmat/primitives/test_aead.py @@ -20,7 +20,7 @@ from ...utils import ( @pytest.mark.supported( only_if=lambda backend: ( - not backend.chacha20poly1305_supported() + not backend.aead_cipher_supported(ChaCha20Poly1305) ), skip_message="Requires OpenSSL without ChaCha20Poly1305 support" ) @@ -31,7 +31,7 @@ def test_chacha20poly1305_unsupported_on_older_openssl(backend): @pytest.mark.supported( - only_if=lambda backend: backend.chacha20poly1305_supported(), + only_if=lambda backend: backend.aead_cipher_supported(ChaCha20Poly1305), skip_message="Does not support ChaCha20Poly1305" ) @pytest.mark.requires_backend_interface(interface=CipherBackend) -- cgit v1.2.3