File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 9
9
import pytest
10
10
11
11
from cryptography import x509
12
- from cryptography .hazmat .bindings ._rust import openssl as rust_openssl
13
12
from cryptography .hazmat .decrepit .ciphers .algorithms import RC2
14
13
from cryptography .hazmat .primitives import hashes , serialization
15
14
from cryptography .hazmat .primitives .asymmetric import (
@@ -632,11 +631,6 @@ def test_key_serialization_encryption(
632
631
iters ,
633
632
iter_der ,
634
633
):
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
-
640
634
builder = serialization .PrivateFormat .PKCS12 .encryption_builder ()
641
635
if enc_alg is not None :
642
636
builder = builder .key_cert_algorithm (enc_alg )
You can’t perform that action at this time.
0 commit comments