wolfssl/openssl/sha3.h: use sizeof(wc_Sha3), not sizeof(struct wc_Sha3), for compatibility with afalg_hash.h and other ports that don't define a struct wc_Sha3.
This commit is contained in:
parent
866468ec2c
commit
678038a077
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user