diff --git a/wolfcrypt/src/port/Espressif/esp32_sha.c b/wolfcrypt/src/port/Espressif/esp32_sha.c index e159a1ad04..fc0bc868f3 100644 --- a/wolfcrypt/src/port/Espressif/esp32_sha.c +++ b/wolfcrypt/src/port/Espressif/esp32_sha.c @@ -757,7 +757,9 @@ int esp_sha_try_hw_lock(WC_ESP32SHA* ctx) else { /* We should have otherwise anticipated this; how did we get here? ** This code should rarely, ideally never be reached. */ + #if defined(DEBUG_WOLFSSL) ESP_LOGI(TAG, "\nHardware in use; Mode REVERT to ESP32_SHA_SW\n"); + #endif ctx->mode = ESP32_SHA_SW; return 0; /* success, but revert to SW */ }