From 9d2f41cfa2407afaaeff0885c0d60ae3508c6c8d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 5 Feb 2025 20:35:32 -0800 Subject: [PATCH] fix test case, used wrong vector (#12405) --- tests/hazmat/primitives/test_serialization.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hazmat/primitives/test_serialization.py b/tests/hazmat/primitives/test_serialization.py index 185818e3c..f78c22fde 100644 --- a/tests/hazmat/primitives/test_serialization.py +++ b/tests/hazmat/primitives/test_serialization.py @@ -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", )