Fix F381 to harden wc_MakeDsaKey

This commit is contained in:
Eric Blankenhorn
2026-03-05 15:15:41 -06:00
parent 967aaa2c56
commit f093268bb9
+1 -1
View File
@@ -227,7 +227,7 @@ int wc_MakeDsaKey(WC_RNG *rng, DsaKey *dsa)
dsa->type = DSA_PRIVATE;
if (err != MP_OKAY) {
mp_clear(&dsa->x);
mp_forcezero(&dsa->x);
mp_clear(&dsa->y);
}