Skip to content

Commit

Permalink
See if we can remove this check (#11678)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Oct 1, 2024
1 parent 979ee6b commit 474b7df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/hazmat/primitives/test_pkcs12.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import pytest

from cryptography import x509
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
from cryptography.hazmat.decrepit.ciphers.algorithms import RC2
from cryptography.hazmat.primitives import hashes, serialization
from cryptography.hazmat.primitives.asymmetric import (
Expand Down Expand Up @@ -632,11 +631,6 @@ def test_key_serialization_encryption(
iters,
iter_der,
):
if (
enc_alg is PBES.PBESv2SHA256AndAES256CBC
) and not rust_openssl.CRYPTOGRAPHY_OPENSSL_300_OR_GREATER:
pytest.skip("PBESv2 is not supported on OpenSSL < 3.0")

builder = serialization.PrivateFormat.PKCS12.encryption_builder()
if enc_alg is not None:
builder = builder.key_cert_algorithm(enc_alg)
Expand Down

0 comments on commit 474b7df

Please sign in to comment.