fix test case, used wrong vector (#12405)

This commit is contained in:
Alex Gaynor 2025-02-05 20:35:32 -08:00 committed by GitHub
parent 3d4eb5f7a4
commit 9d2f41cfa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -537,7 +537,9 @@ class TestDERSerialization:
)
def test_load_pkcs8_rc2_cbc_effective_key_length(self):
data = load_vectors_from_file(
os.path.join("asymmetric", "PKCS8", "rsa-rc2-cbc.pem"),
os.path.join(
"asymmetric", "PKCS8", "rsa-rc2-cbc-effective-key-length.pem"
),
lambda f: f.read(),
mode="rb",
)