diff options
author | David Benjamin <davidben@davidben.net> | 2022-07-21 18:44:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 18:44:30 (GMT) |
commit | 936f71e5d4f50f2238b0320d44f7fb5f88e39809 (patch) | |
tree | 59a5ba864858178cc56a6781f6fb1ca2aaee2d52 /Python/pytime.c | |
parent | a6daaf2a132efbb1965b4502ff8a8cf3b5afed0e (diff) | |
download | cpython-936f71e5d4f50f2238b0320d44f7fb5f88e39809.zip cpython-936f71e5d4f50f2238b0320d44f7fb5f88e39809.tar.gz cpython-936f71e5d4f50f2238b0320d44f7fb5f88e39809.tar.bz2 |
gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-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
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions