Visitar URL original
[3.10] gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096) by miss-islington · Pull Request #95102 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260521232030/https://github.com/python/cpython/pull/95102
Skip to content
/ cpython Public

[3.10] gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096)#95102

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-936f71e-3.10
Jul 21, 2022
Merged

[3.10] gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096)#95102
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-936f71e-3.10

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jul 21, 2022 •

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

…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>
@miss-islington miss-islington requested a review from tiran as a code owner July 21, 2022 18:44
@ghost
Copy link
Copy Markdown

ghost commented Jul 21, 2022 •

All commit authors signed the Contributor License Agreement.
CLA signed

@miss-islington
Copy link
Copy Markdown
Contributor Author

@davidben: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Copy Markdown
Contributor Author

@davidben: Status check is done, and it's a failure ❌ .

@davidben
Copy link
Copy Markdown
Contributor

I see something got confused by multiple emails. :-)

@miss-islington
Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 8fd2d36 into python:3.10 Jul 21, 2022
@miss-islington miss-islington deleted the backport-936f71e-3.10 branch July 21, 2022 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants