include sha256.h when required by smallstackcache

This commit is contained in:
Daniele Lacamera
2021-05-12 09:42:41 +02:00
parent 8c008b81ac
commit f3c07e5f3f

View File

@@ -103,6 +103,9 @@
#ifdef NO_SHA256
#error "Hash DRBG requires SHA-256."
#endif /* NO_SHA256 */
#ifdef WOLFSSL_SMALL_STACK_CACHE
#include <wolfssl/wolfcrypt/sha256.h>
#endif
#elif defined(HAVE_WNR)
/* allow whitewood as direct RNG source using wc_GenerateSeed directly */
#elif defined(HAVE_INTEL_RDRAND)