Skip to content

Commit e8c3a7d

Browse files
committed
fix for wolfcrypt/src/sha3.c (void)type
1 parent 1ef9a8f commit e8c3a7d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

wolfcrypt/src/sha3.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,10 +823,11 @@ static int wc_InitSha3(wc_Sha3* sha3, int type, void* heap, int devId)
823823
#elif defined(WOLF_CRYPTO_CB)
824824
sha3->devId = devId;
825825
sha3->type = type;
826-
#else
826+
827+
#endif /* WOLFSSL_ASYNC_CRYPT */
828+
827829
(void)devId;
828830
(void)type;
829-
#endif /* WOLFSSL_ASYNC_CRYPT */
830831

831832
return ret;
832833
}

0 commit comments

Comments
 (0)