aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509.rst
diff options
context:
space:
mode:
authorIan Cordasco <ian.cordasco@rackspace.com>2015-06-17 12:08:27 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-06-24 13:35:50 -0500
commit4d46eb7217d1effa3043da0def8c365c199b5b7f (patch)
tree49ed058cd75cdb6c7a1918847e3c2609dc93423f /docs/x509.rst
parentf0388d068fd07209068de6b3ca0f8372e01ac086 (diff)
downloadcryptography-4d46eb7217d1effa3043da0def8c365c199b5b7f.tar.gz
cryptography-4d46eb7217d1effa3043da0def8c365c199b5b7f.tar.bz2
cryptography-4d46eb7217d1effa3043da0def8c365c199b5b7f.zip
Properly use RSA fixtures to generate private keys
Diffstat (limited to 'docs/x509.rst')
-rw-r--r--docs/x509.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index aa8e2593..84b3b8b4 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -488,7 +488,7 @@ X.509 CSR (Certificate Signing Request) Builder Object
... )
>>> builder = x509.CertificateSigningRequestBuilder()
>>> builder = builder.subject_name(x509.Name([
- ... x509.NameAttribute(x509.OID_COMMON_NAME, 'cryptography.io'),
+ ... x509.NameAttribute(x509.OID_COMMON_NAME, u'cryptography.io'),
... ]))
>>> buidlder = builder.add_extension(
... x509.BasicConstraints(ca=False, path_length=None), critical=True,