We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 178f96c commit 967aaa2Copy full SHA for 967aaa2
1 file changed
wolfcrypt/src/dsa.c
@@ -231,6 +231,7 @@ int wc_MakeDsaKey(WC_RNG *rng, DsaKey *dsa)
231
mp_clear(&dsa->y);
232
}
233
234
+ ForceZero(cBuf, cSz);
235
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
236
XFREE(cBuf, dsa->heap, DYNAMIC_TYPE_TMP_BUFFER);
237
if (tmpQ != NULL) {
0 commit comments