aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-06-26 20:11:23 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-06-26 20:11:23 -0400
commitde9e584d5c685581ba4f9110daa5d76f1508bcd6 (patch)
treef08835491a5e0d71f72dce670a3ec0a3aace9579
parentb3b0fbe2fb4f3c6939c05ff90e0201fb78c51074 (diff)
downloadcryptography-de9e584d5c685581ba4f9110daa5d76f1508bcd6.tar.gz
cryptography-de9e584d5c685581ba4f9110daa5d76f1508bcd6.tar.bz2
cryptography-de9e584d5c685581ba4f9110daa5d76f1508bcd6.zip
fixed docs
-rw-r--r--docs/x509.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index 79f48299..f94f50eb 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -494,7 +494,7 @@ X.509 CSR (Certificate Signing Request) Builder Object
... x509.BasicConstraints(ca=False, path_length=None), critical=True,
... )
>>> request = builder.sign(
- ... default_backend(), private_key, hashes.SHA256()
+ ... private_key, hashes.SHA256(), default_backend()
... )
>>> isinstance(request, x509.CertificateSigningRequest)
True