Skip to content

Commit 474b7df

Browse files
authored
See if we can remove this check (#11678)
1 parent 979ee6b commit 474b7df

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/hazmat/primitives/test_pkcs12.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import pytest
1010

1111
from cryptography import x509
12-
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
1312
from cryptography.hazmat.decrepit.ciphers.algorithms import RC2
1413
from cryptography.hazmat.primitives import hashes, serialization
1514
from cryptography.hazmat.primitives.asymmetric import (
@@ -632,11 +631,6 @@ def test_key_serialization_encryption(
632631
iters,
633632
iter_der,
634633
):
635-
if (
636-
enc_alg is PBES.PBESv2SHA256AndAES256CBC
637-
) and not rust_openssl.CRYPTOGRAPHY_OPENSSL_300_OR_GREATER:
638-
pytest.skip("PBESv2 is not supported on OpenSSL < 3.0")
639-
640634
builder = serialization.PrivateFormat.PKCS12.encryption_builder()
641635
if enc_alg is not None:
642636
builder = builder.key_cert_algorithm(enc_alg)

0 commit comments

Comments
 (0)