diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-08-23 15:47:47 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-08-23 15:47:47 -0400 |
commit | 06754fc64b15c348a0f433e695588cb40e1f3bd4 (patch) | |
tree | 1f12ac36d207361b99283c7f015acd4d1abad4f5 /OpenSSL/test | |
parent | bb04db80e51283ff7f2a9619dd9015c48d8f1af2 (diff) | |
download | pyopenssl-06754fc64b15c348a0f433e695588cb40e1f3bd4.tar.gz |
in fact, commonName is a native string
Diffstat (limited to 'OpenSSL/test')
-rw-r--r-- | OpenSSL/test/test_crypto.py | 2 |
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) |