Merge pull request #7498 from douzzer/20240501-openssl-sha3-sizeof-fix

20240501-openssl-sha3-sizeof-fix
This commit is contained in:
András Fekete
2024-05-01 15:50:17 -04:00
committed by GitHub

View File

@ -43,7 +43,7 @@
struct WOLFSSL_SHA3_CTX {
/* big enough to hold wolfcrypt Sha3, but check on init */
#ifdef WOLFSSL_SHA3
ALIGN16 void* holder[sizeof(struct wc_Sha3)];
ALIGN16 void* holder[sizeof(wc_Sha3)];
#else
ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
#endif