Skip to content

ssl: Use "from tls import *" to be compatible with axtls. #836

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

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

dpgeorge
Copy link
Member

axtls doesn't define all the CERT_xxx constants, nor the MBEDTLS_VERSION constant.

This change means that tls.SSLContext is imported into the module, but that's subsequently overridden by the class definition in this module.

axtls doesn't define all the CERT_xxx constants, nor the MBEDTLS_VERSION
constant.

This change means that `tls.SSLContext` is imported into the module, but
that's subsequently overridden by the class definition in this module.

Signed-off-by: Damien George <[email protected]>
@dpgeorge dpgeorge merged commit 45ead11 into micropython:master Mar 28, 2024
3 checks passed
@dpgeorge dpgeorge deleted the ssl-compat-axtls branch March 28, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant