aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-24 18:34:56 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-24 18:34:56 -0500
commit48f17cb225abcf43f77915d152f6cc15b762c702 (patch)
tree76c4df17325935f35c1ff908c6ec7ad0977509b2 /tests/hazmat/backends/test_openssl.py
parente454a5752a9b26c7c097e874409b513d8cc67e51 (diff)
parent4791d6fa1a829defb7b40258e2b101df0da177c9 (diff)
downloadcryptography-48f17cb225abcf43f77915d152f6cc15b762c702.tar.gz
cryptography-48f17cb225abcf43f77915d152f6cc15b762c702.tar.bz2
cryptography-48f17cb225abcf43f77915d152f6cc15b762c702.zip
Merge pull request #2565 from reaperhulk/crl-interface
add create_x509_crl interface
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r--tests/hazmat/backends/test_openssl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index d048fe68..fd4030f6 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -501,6 +501,11 @@ class TestOpenSSLSignX509Certificate(object):
backend.create_x509_certificate(object(), private_key, DummyHash())
+def test_crl_creation_not_implemented():
+ with pytest.raises(NotImplementedError):
+ backend.create_x509_crl("", "", "")
+
+
class TestOpenSSLSerialisationWithOpenSSL(object):
def test_pem_password_cb_buffer_too_small(self):
ffi_cb, userdata = backend._pem_password_cb(b"aa")