mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
py/mpconfig: Enable SSL finalizers if finalizers are enabled.
The rp2 port was enabling SSL and had finalizers enabled via the "extra features" level, but missed explicitly enabling `MICROPY_PY_SSL_FINALISER` (like esp32, stm32, and mimxrt did). This commit makes `MICROPY_PY_SSL_FINALISER` default to enabled if finalizers are enabled, and removes the explicit setting of this for esp32, stm32, mimxrt (because they all use the "extra features" level). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
b2b5bcce28
commit
f3eccb154c
@@ -92,7 +92,6 @@
|
||||
#endif
|
||||
|
||||
// extended modules
|
||||
#define MICROPY_PY_SSL_FINALISER (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
|
||||
|
||||
Reference in New Issue
Block a user