aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-04 07:55:40 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-08 06:46:14 -0500
commit1cd8fee9c6fa746d395c88df1c6fd59d32280eb5 (patch)
tree4e771908591904ae1bdf53716fa61155537c54df /tests
parenta4d5babf26b606c501f81f08712756871b29b65c (diff)
downloadcryptography-1cd8fee9c6fa746d395c88df1c6fd59d32280eb5.tar.gz
cryptography-1cd8fee9c6fa746d395c88df1c6fd59d32280eb5.tar.bz2
cryptography-1cd8fee9c6fa746d395c88df1c6fd59d32280eb5.zip
add missing test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_x509.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 71c29f75..5fe6eb40 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -1148,6 +1148,31 @@ class TestCertificateBuilder(object):
[
x509.CRLDistributionPoints([
x509.DistributionPoint(
+ full_name=None,
+ relative_name=x509.Name([
+ x509.NameAttribute(
+ x509.OID_COMMON_NAME,
+ u"indirect CRL for indirectCRL CA3"
+ ),
+ ]),
+ reasons=None,
+ crl_issuer=[x509.DirectoryName(
+ x509.Name([
+ x509.NameAttribute(x509.OID_COUNTRY_NAME, u"US"),
+ x509.NameAttribute(
+ x509.OID_ORGANIZATION_NAME,
+ u"Test Certificates 2011"
+ ),
+ x509.NameAttribute(
+ x509.OID_ORGANIZATIONAL_UNIT_NAME,
+ u"indirectCRL CA3 cRLIssuer"
+ ),
+ ])
+ )],
+ )
+ ]),
+ x509.CRLDistributionPoints([
+ x509.DistributionPoint(
full_name=[x509.DirectoryName(
x509.Name([
x509.NameAttribute(x509.OID_COUNTRY_NAME, u"US"),