Commit 4d73f83e authored by Nikos Mavrogiannopoulos's avatar Nikos Mavrogiannopoulos Committed by Niels Möller

Added missing mpz_clear.

parent d1a3edbf
2012-05-09 Niels Möller <nisse@lysator.liu.se>
* rsa-decrypt-tr.c (rsa_decrypt_tr): Added missing mpz_clear,
spotted by Nikos Mavrogiannopoulos.
2012-05-07 Niels Möller <nisse@lysator.liu.se>
* nettle-types.h (_STDINT_HAVE_INT_FAST32_T): Define here, to
......
......@@ -86,7 +86,8 @@ rsa_decrypt_tr(const struct rsa_public_key *pub,
rsa_blind (pub, random_ctx, random, m, ri);
rsa_compute_root(key, m, m);
rsa_unblind (pub, m, ri);
mpz_clear (ri);
res = pkcs1_decrypt (key->size, m, length, message);
mpz_clear(m);
return res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment