Skip to content

Commit 355081b

Browse files
committed
Fix test with cast
1 parent d638824 commit 355081b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfcrypt/src/dsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int wc_MakeDsaKey(WC_RNG *rng, DsaKey *dsa)
228228
mp_clear(&dsa->y);
229229
}
230230

231-
ForceZero(cBuf, cSz);
231+
ForceZero(cBuf, (word32)cSz);
232232
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
233233
XFREE(cBuf, dsa->heap, DYNAMIC_TYPE_TMP_BUFFER);
234234
if (tmpQ != NULL) {

0 commit comments

Comments
 (0)