diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-04-25 23:42:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 22:42:20 -0500 |
commit | 01eb304b082b4ae5769eb0b2e1184dbca010961a (patch) | |
tree | a2be5eadd79023732937261f6e58b1ddd0f74c30 /tests/wycheproof | |
parent | b87a238dc10f46daddd8616efd8a9b0237a858c6 (diff) | |
download | cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.tar.gz cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.tar.bz2 cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.zip |
Dropped support for LibreSSL 2.7, 2.8, and 2.9.0 (2.9.1+ are still supported) (#5231)
Diffstat (limited to 'tests/wycheproof')
-rw-r--r-- | tests/wycheproof/test_rsa.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/wycheproof/test_rsa.py b/tests/wycheproof/test_rsa.py index 12f2901b..8a971d98 100644 --- a/tests/wycheproof/test_rsa.py +++ b/tests/wycheproof/test_rsa.py @@ -38,7 +38,7 @@ def should_verify(backend, wycheproof): if ( ( backend._lib.CRYPTOGRAPHY_OPENSSL_110_OR_GREATER or - backend._lib.CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER + backend._lib.CRYPTOGRAPHY_IS_LIBRESSL ) and wycheproof.has_flag("MissingNull") ): return False @@ -48,16 +48,6 @@ def should_verify(backend, wycheproof): @pytest.mark.requires_backend_interface(interface=RSABackend) -@pytest.mark.supported( - only_if=lambda backend: ( - not backend._lib.CRYPTOGRAPHY_IS_LIBRESSL or - backend._lib.CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER - ), - skip_message=( - "Many of these tests fail on OpenSSL < 1.0.2 and since upstream isn't" - " maintaining it, they'll never be fixed." - ), -) @pytest.mark.wycheproof_tests( "rsa_signature_test.json", "rsa_signature_2048_sha224_test.json", |