From 7726f5cc7f90317868a8bc659f5f2ade0a0111de Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 6 Mar 2026 09:59:43 -0600 Subject: [PATCH] pwdbased: fix cast warning. --- wolfcrypt/src/pwdbased.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/pwdbased.c b/wolfcrypt/src/pwdbased.c index a6b71acc86..68e3ab1635 100644 --- a/wolfcrypt/src/pwdbased.c +++ b/wolfcrypt/src/pwdbased.c @@ -837,7 +837,7 @@ end: ForceZero(v, ((size_t)1 << cost) * (size_t)bSz); } if (y != NULL) { - ForceZero(y, (size_t)(blockSize * 128)); + ForceZero(y, (size_t)blockSize * 128); } XFREE(blocks, NULL, DYNAMIC_TYPE_TMP_BUFFER);