aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 10:56:49 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 10:56:49 -0400
commit7583f7ff3a2d655aa1f58fde1fa13da7e8b40f57 (patch)
tree6f4bcb664feac725f4cc184e1aa1ea9e586d4542 /tests/test_x509.py
parent41ca5dc240fd04928980cb85144138f579805f32 (diff)
downloadcryptography-7583f7ff3a2d655aa1f58fde1fa13da7e8b40f57.tar.gz
cryptography-7583f7ff3a2d655aa1f58fde1fa13da7e8b40f57.tar.bz2
cryptography-7583f7ff3a2d655aa1f58fde1fa13da7e8b40f57.zip
add this part of the test back
Diffstat (limited to 'tests/test_x509.py')
-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,