esp32_https_server
esp32_https_server copied to clipboard
hwcrypto/sha.h: No such file or directory
Describe the bug Compiling your library (downloaded vai library manager) you get an "hwcrypto/sha.h: No such file or directory".
Solution change "#include <hwcrypto/sha.h>" in HTTPConnection.hpp to "#include <esp32/sha.h>"
You can just replace "hwcrypto/sha.h" with "sha/sha_parallel_engine.h", that's the header used in newer ESP-IDF versions
Or:
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (4, 4, 0)
#include <sha/sha_parallel_engine.h>
#else
#include <hwcrypto/sha.h>
#endif