extmod/modtls: Move the native ssl module to tls.
The current `ssl` module has quite a few differences to the CPython implementation. This change moves the MicroPython variant to a new `tls` module and provides a wrapper module for `ssl` (in micropython-lib). Users who only rely on implemented comparible behavior can continue to use `ssl`, while users that rely on non-compatible behavior should switch to `tls`. Then we can make the facade in `ssl` more strictly adhere to CPython. Signed-off-by: Felix Dörre <felix@dogcraft.de>
This commit is contained in:
committed by
Damien George
parent
f8f1f29ac0
commit
b802f0f8ab
@@ -1,3 +1,4 @@
|
||||
freeze_as_str("frzstr")
|
||||
freeze_as_mpy("frzmpy")
|
||||
freeze_mpy("$(MPY_DIR)/tests/frozen")
|
||||
require("ssl")
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
require("mip-cmdline")
|
||||
require("ssl")
|
||||
|
||||
Reference in New Issue
Block a user