diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-08 23:46:38 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-08 23:46:38 -0400 |
commit | ba62a0ba66cdf7476dd741a0bf0f08cab518524c (patch) | |
tree | e8db8b3700443db0565d70ce170a1380cb92a9ff /tests/hazmat | |
parent | 57df4852891c509917bffca53dffad88a4e914ab (diff) | |
parent | aedeedb8ce32caedf68ae0bf0066a70175c9f694 (diff) | |
download | cryptography-ba62a0ba66cdf7476dd741a0bf0f08cab518524c.tar.gz cryptography-ba62a0ba66cdf7476dd741a0bf0f08cab518524c.tar.bz2 cryptography-ba62a0ba66cdf7476dd741a0bf0f08cab518524c.zip |
Merge pull request #2230 from reaperhulk/encode-iap
support InhibitAnyPolicy in CertificateBuilder
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 051827af..8f559c84 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -529,7 +529,7 @@ class TestOpenSSLSignX509Certificate(object): ).not_valid_after( datetime.datetime(2020, 1, 1) ).add_extension( - x509.InhibitAnyPolicy(0), False + x509.IssuerAlternativeName([x509.DNSName(u"crypto.io")]), False ) with pytest.raises(NotImplementedError): |