aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_x509.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 32f29ff5..3975d5b6 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -878,6 +878,9 @@ class TestCertificateSigningRequestBuilder(object):
x509.NameAttribute(x509.OID_COUNTRY_NAME, u'US'),
])
).add_extension(
+ x509.SubjectAlternativeName([x509.DNSName(u"cryptography.io")]),
+ critical=False,
+ ).add_extension(
x509.KeyUsage(
digital_signature=True,
content_commitment=True,