-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
[3.11] gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096) #95101
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
[3.11] gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096) #95101
Conversation
…ctrl (pythonGH-95096) The wrapper macros are more readable and match the form recommended in the OpenSSL documentation. They also slightly less error-prone, as the mapping of arguments to SSL_CTX_ctrl is not always clear. (Though in this case it's straightforward.) https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_get_max_proto_version.html (cherry picked from commit 936f71e) Co-authored-by: David Benjamin <davidben@davidben.net>
@davidben: Status check is done, and it's a failure ❌ . |
@davidben: Status check is done, and it's a failure ❌ . |
2 similar comments
@davidben: Status check is done, and it's a failure ❌ . |
@davidben: Status check is done, and it's a failure ❌ . |
@davidben For some reasons the automatic backport has a different email address than your initial commit. I'm not entire sure what is going on here... |
Not sure either. Seems like a bug but probably not worth fussing over. Pressed more buttons. Hopefully it's happy now? |
CLA bot is a happy bot now. Thanks :) |
Status check is done, and it's a success ✅ . |
The wrapper macros are more readable and match the form recommended in
the OpenSSL documentation. They also slightly less error-prone, as the
mapping of arguments to SSL_CTX_ctrl is not always clear. (Though in
this case it's straightforward.)
https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_get_max_proto_version.html
(cherry picked from commit 936f71e)
Co-authored-by: David Benjamin davidben@davidben.net