Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
4d73f83e
Commit
4d73f83e
authored
May 09, 2012
by
Nikos Mavrogiannopoulos
Committed by
Niels Möller
May 09, 2012
Browse files
Added missing mpz_clear.
parent
d1a3edbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4d73f83e
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
...
...
rsa-decrypt-tr.c
View file @
4d73f83e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment