aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wycheproof/test_rsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wycheproof/test_rsa.py')
-rw-r--r--tests/wycheproof/test_rsa.py12
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",