commit | 63ad416f7cca81fa9875afda0146a8c0e07d3672 | [log] [tgz] |
---|---|---|
author | Hynek Schlawack <hs@ox.cx> | Sat Oct 17 10:09:58 2015 +0200 |
committer | Hynek Schlawack <hs@ox.cx> | Sat Oct 17 10:09:58 2015 +0200 |
tree | 224fe4ca749febf7fa4353220ca3faab1da75797 | |
parent | 7408affd93ee8a65056502e7861b73c79893e165 [diff] [blame] |
Fix Py3
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index 0653909..89e3515 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py
@@ -1385,7 +1385,7 @@ """ context = Context(TLSv1_METHOD) for curve in get_elliptic_curves(): - if curve.name.startswith(b"Oakley-"): + if curve.name.decode().startswith(u"Oakley-"): # Setting Oakley-EC2N-4 and Oakley-EC2N-3 adds # ('bignum routines', 'BN_mod_inverse', 'no inverse') to the # error queue on OpenSSL 1.0.2.