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 API for accessing SSL_CTX's "method" field #783

Closed
lvh opened this issue Mar 11, 2014 · 0 comments · Fixed by #784
Closed

Add API for accessing SSL_CTX's "method" field #783

lvh opened this issue Mar 11, 2014 · 0 comments · Fixed by #784

Comments

@lvh
Copy link
Member

lvh commented Mar 11, 2014

Currently there is no way to get the method (as in TLSv1_METHOD) of an existing Context object. I've filed pyca/pyopenssl#61 for that, but it requires cryptography to expose the relevant guts.

reaperhulk added a commit to reaperhulk/cryptography that referenced this issue Mar 11, 2014
@lvh lvh closed this as completed in #784 Mar 12, 2014
lvh added a commit that referenced this issue Mar 12, 2014
Partially deopaque SSL_CTX to support a pyopenssl use case

This allows PyOpenSSL to access the "method" field of the SSL_CTX struct, which allows you to see the method of an already existing context. This is useful, for example, for debugging and testing. The relevant PyOpenSSL ticket is pyca/pyopenssl#61.

Fixes #783.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant