Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
131d068d
Commit
131d068d
authored
Aug 02, 2014
by
Niels Möller
Browse files
Fixed memory leak in curve25519 test case.
parent
98333dcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
131d068d
2014-08-02 Niels Möller <nisse@lysator.liu.se>
* testsuite/curve25519-dh-test.c (curve25519_sqrt): Fixed memory
leak, a mpz_clear call was missing.
* ecc-internal.h (ECC_MUL_A_EH_WBITS): Set to 4, to enable
window-based scalar multiplication.
...
...
testsuite/curve25519-dh-test.c
View file @
131d068d
...
...
@@ -111,6 +111,7 @@ int curve25519_sqrt (const struct ecc_curve *ecc,
mpz_clear
(
sm1h
);
mpz_clear
(
x
);
mpz_clear
(
b
);
mpz_clear
(
t
);
return
success
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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