mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #6811 from gojimmypi/esp32-sha-revert-verbosity
ESP32 debug only: Mode REVERT to ESP32_SHA_SW
This commit is contained in:
@ -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 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user