[issue42952] Incorrect handling of EC_KEY_new_by_curve_name() in the _ssl module

Christian Heimes report at bugs.python.org
Mon Jan 18 08:05:21 EST 2021


Christian Heimes <lists at cheimes.de> added the comment:

It really doesn't matter. The code is dead and will never trigger. Python 3.7 and newer all require OpenSSL 1.0.2, which always has defines SSL_CTX_set_ecdh_auto. In more recent versions SSL_CTX_set_ecdh_auto() is a no-op. I'll remove the code entirely when I can drop support for 1.0.2, too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42952>
_______________________________________


More information about the Python-bugs-list mailing list