Skip to content
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

Add ssl version constants #5662

Merged
merged 7 commits into from Dec 21, 2020
Merged

Add ssl version constants #5662

merged 7 commits into from Dec 21, 2020

Conversation

mhils
Copy link
Member

@mhils mhils commented Dec 21, 2020

I'm upgrading mitmproxy to use SSL_CTX_set_min_proto_version (with the idea to get the changes into pyOpenSSL as well), and it turns out the version constants are not exposed at the moment. :)

SSL_CTX_set_min_proto_version landed in #5595, see https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_min_proto_version.html for the OpenSSL docs.

src/_cffi_src/openssl/ssl.py Outdated Show resolved Hide resolved
src/_cffi_src/openssl/ssl.py Outdated Show resolved Hide resolved
src/_cffi_src/openssl/ssl.py Outdated Show resolved Hide resolved
@alex alex merged commit 9108bb0 into pyca:master Dec 21, 2020
@mhils mhils deleted the ssl-versions branch December 21, 2020 14:38
@mhils
Copy link
Member Author

mhils commented Dec 21, 2020

As always, thanks for the super super quick helpful feedback! ❤️

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants