diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-13 21:26:00 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-13 22:01:02 -0500 |
commit | 2c52ac9bfefa813bfef864ff35e3d2afb8dbdae9 (patch) | |
tree | a6c30159a268bc7114bd75fe646e71bb06fdae4c /crypto/ec/ecp_nistp521.c | |
parent | 9aa00b187a65b1f30789d6274ec31ea86efe7973 (diff) |
Call single parent free_comp routine.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/ec/ecp_nistp521.c')
-rw-r--r-- | crypto/ec/ecp_nistp521.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nistp521.c b/crypto/ec/ecp_nistp521.c index d656517791..ee9c07e885 100644 --- a/crypto/ec/ecp_nistp521.c +++ b/crypto/ec/ecp_nistp521.c @@ -2008,8 +2008,7 @@ int ec_GFp_nistp521_precompute_mult(EC_GROUP *group, BN_CTX *ctx) felem tmp_felems[16]; /* throw away old precomputation */ - EC_nistp521_pre_comp_free(group->pre_comp.nistp521); - group->pre_comp.nistp521 = NULL; + EC_pre_comp_free(group); if (ctx == NULL) if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0; |