From 2512e7726344f1e534560cb6395ddd8f38043cc1 Mon Sep 17 00:00:00 2001 From: yangfl Date: Sat, 8 Mar 2025 17:25:42 +0800 Subject: [PATCH 8/8] extmod/modtls_mbedtls.c: Decrease the mbedTLS DEBUG level --- extmod/modtls_mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modtls_mbedtls.c b/extmod/modtls_mbedtls.c index 586342573..6473394f7 100644 --- a/extmod/modtls_mbedtls.c +++ b/extmod/modtls_mbedtls.c @@ -295,7 +295,7 @@ static mp_obj_t ssl_context_make_new(const mp_obj_type_t *type_in, size_t n_args #ifdef MBEDTLS_DEBUG_C // Debug level (0-4) 1=warning, 2=info, 3=debug, 4=verbose - mbedtls_debug_set_threshold(3); + mbedtls_debug_set_threshold(0); #endif // Whenever the PSA interface is used (if MBEDTLS_PSA_CRYPTO), psa_crypto_init() needs to be called before any TLS related operations. -- 2.51.0