aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_x509.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 4072ef15..f9791fe2 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -30,6 +30,7 @@ from cryptography.x509.oid import (
from .hazmat.primitives.fixtures_dsa import DSA_KEY_2048
from .hazmat.primitives.fixtures_rsa import RSA_KEY_2048, RSA_KEY_512
+from .hazmat.primitives.fixtures_ec import EC_KEY_SECP192R1, EC_KEY_SECT163K1
from .hazmat.primitives.test_ec import _skip_curve_unsupported
from .utils import load_vectors_from_file
@@ -1088,8 +1089,8 @@ class TestRSACertificateRequest(object):
]
def test_build_cert_printable_string_country_name(self, backend):
- issuer_private_key = RSA_KEY_2048.private_key(backend)
- subject_private_key = RSA_KEY_2048.private_key(backend)
+ issuer_private_key = EC_KEY_SECP192R1.private_key(backend)
+ subject_private_key = EC_KEY_SECT163K1.private_key(backend)
not_valid_before = datetime.datetime(2002, 1, 1, 12, 1)
not_valid_after = datetime.datetime(2030, 12, 31, 8, 30)