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
Activity
petoknm commented on Feb 11, 2022
You can just replace "hwcrypto/sha.h" with "sha/sha_parallel_engine.h", that's the header used in newer ESP-IDF versions
BojanJurca commented on May 6, 2022
Or: