Skip to content

Commit 678038a

Browse files
committed
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.
1 parent 866468e commit 678038a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/openssl/sha3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
struct WOLFSSL_SHA3_CTX {
4444
/* big enough to hold wolfcrypt Sha3, but check on init */
4545
#ifdef WOLFSSL_SHA3
46-
ALIGN16 void* holder[sizeof(struct wc_Sha3)];
46+
ALIGN16 void* holder[sizeof(wc_Sha3)];
4747
#else
4848
ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
4949
#endif

0 commit comments

Comments
 (0)