diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-07-08 11:09:53 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-07-08 12:09:53 -0400 |
commit | 33574c6ee06c59d22721c7a7acb503c1bef08289 (patch) | |
tree | 582642c9e3ebb14e9d90fb502a6b30f384c49334 /tests/hazmat/primitives/test_aead.py | |
parent | 70639eddd1c0c3cfddd27720c853e96d7bf31e21 (diff) | |
download | cryptography-33574c6ee06c59d22721c7a7acb503c1bef08289.tar.gz cryptography-33574c6ee06c59d22721c7a7acb503c1bef08289.tar.bz2 cryptography-33574c6ee06c59d22721c7a7acb503c1bef08289.zip |
change chacha20poly1305_supported to aead_cipher_supported (#3762)
Diffstat (limited to 'tests/hazmat/primitives/test_aead.py')
-rw-r--r-- | tests/hazmat/primitives/test_aead.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |