diff options
author | Niels Möller <nisse@lysator.liu.se> | 2018-07-12 22:32:59 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2018-07-12 22:32:59 +0200 |
commit | 1da75fada9475e0172ed2a6186fb79ed8a543cb6 (patch) | |
tree | e8d7cb660466b2f33aae246784e7cf8131492cee /eccdata.c | |
parent | 62b09e9fa5f479ae2c3c621e4b51d28bc88df75e (diff) | |
download | nettle-1da75fada9475e0172ed2a6186fb79ed8a543cb6.tar.gz |
Fix memory leak in eccdata.
Diffstat (limited to 'eccdata.c')
-rw-r--r-- | eccdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1143,7 +1143,7 @@ output_curve (const struct ecc_curve *ecc, unsigned bits_per_limb) printf ("#else\n"); - mpz_init_set_ui (t, 1); + mpz_set_ui (t, 1); output_bignum ("ecc_unit", t, limb_size, bits_per_limb); printf ("static const mp_limb_t ecc_table[%lu] = {", |