unix/mpconfigport: Switch ussl from axtls to mbedtls.

The reasons to make this switch are:
- The axtls library is not being maintained/updated, mbedtls is.
- So CI and tests can run against mbedtls, which is now the main TLS
  library used by the ports (eg stm32, rp2, mimxrt, esp32). Only esp8266
  uses axtls.

Increases unix standard build on x86-64 by about 89000 bytes.

Signed-off-by: Damien George <damien@micropython.org>
pull/8916/head
Damien George 2022-07-15 12:27:33 +10:00
rodzic 26dec1fafb
commit 13c78ab6fe
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -27,10 +27,10 @@ MICROPY_PY_FFI = 1
MICROPY_PY_USSL = 1
# axTLS has minimal size but implements only a subset of modern TLS
# functionality, so may have problems with some servers.
MICROPY_SSL_AXTLS = 1
MICROPY_SSL_AXTLS = 0
# mbedTLS is more up to date and complete implementation, but also
# more bloated.
MICROPY_SSL_MBEDTLS = 0
MICROPY_SSL_MBEDTLS = 1
# jni module requires JVM/JNI
MICROPY_PY_JNI = 0