From d2a2a49aab6c2557ece9bc42ef269d60f8feacdd Mon Sep 17 00:00:00 2001 From: mikee47 Date: Sat, 2 Oct 2021 21:28:53 +0100 Subject: [PATCH] Fix 'invalid certificate' error Not using MBEDTLS so should be fine to disable certificate bundles. --- Sming/Arch/Esp32/Components/esp32/component.mk | 1 - Sming/Arch/Esp32/Components/esp32/sdk/config/common | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Sming/Arch/Esp32/Components/esp32/component.mk b/Sming/Arch/Esp32/Components/esp32/component.mk index b363b93cda..002f489da1 100644 --- a/Sming/Arch/Esp32/Components/esp32/component.mk +++ b/Sming/Arch/Esp32/Components/esp32/component.mk @@ -117,7 +117,6 @@ SDK_COMPONENTS += \ esp_wifi \ esp_eth \ lwip \ - mbedtls \ mbedcrypto \ esp_netif \ openssl diff --git a/Sming/Arch/Esp32/Components/esp32/sdk/config/common b/Sming/Arch/Esp32/Components/esp32/sdk/config/common index eb0ee896e9..6bb6d89c55 100644 --- a/Sming/Arch/Esp32/Components/esp32/sdk/config/common +++ b/Sming/Arch/Esp32/Components/esp32/sdk/config/common @@ -37,5 +37,8 @@ CONFIG_VFS_SUPPORT_DIR=n CONFIG_VFS_SUPPORT_SELECT=n CONFIG_VFS_SUPPORT_TERMIOS=n +# Not used +CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n + # Debugging CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=y