esp32/main: Remove unused mbedtls debug function.

Since commit beeb74 we already check in modussl_mbedtls whether this
function is provided by the ESP-IDF before calling it, thus we no longer
need to define it here in order to compile.

Removing it so that if CONFIG_MBEDTLS_DEBUG is defined we do not cause any
'multiple definition' compile errors.

Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
pull/12060/head
Daniël van de Giessen 2022-05-31 14:55:39 +02:00 zatwierdzone przez Damien George
rodzic c1acea0e73
commit 1bde5f3316
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -216,11 +216,6 @@ void nlr_jump_fail(void *val) {
esp_restart();
}
// modussl_mbedtls uses this function but it's not enabled in ESP IDF
void mbedtls_debug_set_threshold(int threshold) {
(void)threshold;
}
void *esp_native_code_commit(void *buf, size_t len, void *reloc) {
len = (len + 3) & ~3;
uint32_t *p = heap_caps_malloc(len, MALLOC_CAP_EXEC);