summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2015-04-13 21:46:04 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2015-04-13 21:46:04 -0400
commite011b9577fb390d59689f0c4e8430dd5070e5bb7 (patch)
tree5a50fecdfb6de9be7026ff8661cb1acda5fcaade /doc/api
parentdf5140163bd4f3d11bc0acc11c1b2968bc2ec49f (diff)
downloadpyopenssl-e011b9577fb390d59689f0c4e8430dd5070e5bb7.tar.gz
Bytes.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/crypto.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index fb254cf..57a60f3 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -764,7 +764,7 @@ CRL objects have the following methods:
Add a Revoked object to the CRL, by value not reference.
-.. py:method:: CRL.export(cert, key[, type=FILETYPE_PEM][, days=100][, digest='md5'])
+.. py:method:: CRL.export(cert, key[, type=FILETYPE_PEM][, days=100][, digest=b'md5'])
Use *cert* and *key* to sign the CRL and return the CRL as a string.
*days* is the number of days before the next CRL is due.