Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing mpz_clear.
parent
d1a3edbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ChangeLog
ChangeLog
+5
-0
rsa-decrypt-tr.c
rsa-decrypt-tr.c
+2
-1
No files found.
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
Markdown
is supported
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