We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
esp32/sha.h
1 parent 28ed615 commit 61ea449Copy full SHA for 61ea449
src/WebSockets.cpp
@@ -42,9 +42,13 @@ extern "C" {
42
#include <esp_system.h>
43
44
#if ESP_IDF_VERSION_MAJOR >= 4
45
-#include <esp32/sha.h>
+ #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(1, 0, 6) )
46
+ #include "sha/sha_parallel_engine.h"
47
+ #else
48
+ #include <esp32/sha.h>
49
+ #endif
50
#else
-#include <hwcrypto/sha.h>
51
+ #include <hwcrypto/sha.h>
52
#endif
53
54
0 commit comments