dsa_make_key: fix free of wrong pointer resulting in double-free
This commit is contained in:
parent
198ad7ef50
commit
dc31ca545f
@ -186,7 +186,7 @@ int dsa_make_params(prng_state *prng, int wprng, int group_size, int modulus_siz
|
|||||||
cleanup:
|
cleanup:
|
||||||
mp_clear_multi(t2L1, t2N1, t2q, t2seedlen, U, W, X, c, h, e, seedinc, NULL);
|
mp_clear_multi(t2L1, t2N1, t2q, t2seedlen, U, W, X, c, h, e, seedinc, NULL);
|
||||||
cleanup1:
|
cleanup1:
|
||||||
XFREE(wbuf);
|
XFREE(sbuf);
|
||||||
cleanup2:
|
cleanup2:
|
||||||
XFREE(wbuf);
|
XFREE(wbuf);
|
||||||
cleanup3:
|
cleanup3:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user