Skip to content

Commit

Permalink
Seems like curves are always unicode!
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Oct 17, 2015
1 parent 63ad416 commit a07fa8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSSL/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ def test_set_tmp_ecdh(self):
"""
context = Context(TLSv1_METHOD)
for curve in get_elliptic_curves():
if curve.name.decode().startswith(u"Oakley-"):
if curve.name.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.
Expand Down

0 comments on commit a07fa8c

Please sign in to comment.