New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-42952: Fix the handling of EC_KEY_new_by_curve_name() in _ssl.c #24237
Conversation
This is a "skip news" PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. BTW there is a similar code in _ssl__SSLContext_set_ecdh_curve()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's dead code and never used with supported OpenSSL versions.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
If it is never used, then why not remove it? If it still can be used on some platforms, it is worth to fix it. The existence of similar code in other place adds confidence in the correctness of the proposed change (it also conforms the documentation). |
As I explained in the ticket I will remove all unused code in one PR in the future. |
This PR is stale because it has been open for 30 days with no activity. |
Code is gone. |
https://bugs.python.org/issue42952