update docs
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index efa1d91..95ccc18 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -1721,7 +1721,9 @@
:param days: The number of days until the next update of this CRL.
:type days: :py:data:`int`
+
:param digest: The message digest to use
+ :type digest: :py:data:`str`
:return: :py:data:`str`
"""
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index dacbf9e..5c4eac4 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -3017,6 +3017,10 @@
def test_export_unknown_digest(self):
+ """
+ Calling :py:obj:`OpenSSL.CRL.export` with a unsupported digest results
+ in a :py:obj:`ValueError` being raised.
+ """
crl = CRL()
self.assertRaises(ValueError, crl.export, self.cert, self.pkey, FILETYPE_PEM, 10, "strange-digest")