mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 08:14:02 -05:00
openssl: Fix memory leak in openssl ec deinit
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
10e7948f76
commit
5c61d214ad
@ -1067,6 +1067,7 @@ void crypto_ec_deinit(struct crypto_ec *e)
|
|||||||
if (e == NULL)
|
if (e == NULL)
|
||||||
return;
|
return;
|
||||||
BN_clear_free(e->order);
|
BN_clear_free(e->order);
|
||||||
|
BN_clear_free(e->prime);
|
||||||
EC_GROUP_free(e->group);
|
EC_GROUP_free(e->group);
|
||||||
BN_CTX_free(e->bnctx);
|
BN_CTX_free(e->bnctx);
|
||||||
os_free(e);
|
os_free(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user