aboutsummaryrefslogtreecommitdiffstats
path: root/tests/x509/test_x509.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x509/test_x509.py')
-rw-r--r--tests/x509/test_x509.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/x509/test_x509.py b/tests/x509/test_x509.py
index afe1c0e9..d6aafcda 100644
--- a/tests/x509/test_x509.py
+++ b/tests/x509/test_x509.py
@@ -2243,7 +2243,14 @@ class TestCertificateBuilder(object):
"add_ext",
[
x509.SubjectAlternativeName(
- [x509.DNSName._init_without_validation(u'a\xedt\xe1s.test')]
+ [
+ # These examples exist to verify compatibility with
+ # certificates that have utf8 encoded data in the ia5string
+ x509.DNSName._init_without_validation(u'a\xedt\xe1s.test'),
+ x509.RFC822Name._init_without_validation(
+ u'test@a\xedt\xe1s.test'
+ ),
+ ]
),
x509.CertificatePolicies([
x509.PolicyInformation(