diff --git a/wolfcrypt/src/port/Espressif/esp32_mp.c b/wolfcrypt/src/port/Espressif/esp32_mp.c index b5c81903ee..5005624217 100644 --- a/wolfcrypt/src/port/Espressif/esp32_mp.c +++ b/wolfcrypt/src/port/Espressif/esp32_mp.c @@ -334,7 +334,7 @@ static int esp_mp_hw_wait_clean(void) /* This is highly unusual and will likely only occur in multi-threaded * application. wolfSSL ctx is not thread safe. */ #ifndef SINGLE_THREADED - ESP_LOG(TAG, "Consider #define SINGLE_THREADED. See docs"); + ESP_LOGI(TAG, "Consider #define SINGLE_THREADED. See docs"); #endif ESP_LOGE(TAG, "esp_mp_hw_wait_clean waiting HW ready timed out."); ret = WC_HW_WAIT_E; /* hardware is busy, MP_HW_BUSY; */ @@ -422,7 +422,7 @@ static int esp_mp_hw_lock(void) if (ret == ESP_OK) { /* lock hardware; there should be exactly one instance * of esp_CryptHwMutexLock(&mp_mutex ...) in code */ - + ret = esp_CryptHwMutexLock(&mp_mutex, ESP_MP_HW_LOCK_MAX_DELAY); if (ret != ESP_OK) { ESP_LOGE(TAG, "mp engine lock failed.");