summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2013-08-23 15:47:47 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2013-08-23 15:47:47 -0400
commit06754fc64b15c348a0f433e695588cb40e1f3bd4 (patch)
tree1f12ac36d207361b99283c7f015acd4d1abad4f5
parentbb04db80e51283ff7f2a9619dd9015c48d8f1af2 (diff)
downloadpyopenssl-06754fc64b15c348a0f433e695588cb40e1f3bd4.tar.gz
in fact, commonName is a native string
-rw-r--r--OpenSSL/test/test_crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index 8ac80c0..9b49213 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -895,7 +895,7 @@ class X509NameTests(TestCase):
cert = load_certificate(FILETYPE_PEM, nulbyteSubjectAltNamePEM)
subject = cert.get_subject()
self.assertEqual(
- b("null.python.org\x00example.org"), subject.commonName)
+ "null.python.org\x00example.org", subject.commonName)