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
fa871b5b
Commit
fa871b5b
authored
Nov 25, 2013
by
Niels Möller
Browse files
Improved ASSERT failure message for testsuite.
parent
4daca969
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
fa871b5b
2013-11-25 Niels Möller <nisse@lysator.liu.se>
* testsuite/testutils.h (ASSERT): Improved failure message.
* dsa-verify.c (dsa_verify): Renamed, from _dsa_verify.
* dsa-sign.c (dsa_sign): Renamed, from _dsa_sign.
...
...
testsuite/testutils.h
View file @
fa871b5b
...
...
@@ -229,7 +229,8 @@ test_ecc_mul_j (unsigned curve, unsigned n, const mp_limb_t *p);
#define ASSERT(x) do { \
if (!(x)) \
{ \
fprintf(stderr, "Assert failed %d: %s\n", __LINE__, #x); \
fprintf(stderr, "Assert failed: %s:%d: %s\n", \
__FILE__, __LINE__, #x); \
FAIL(); \
} \
} while(0)
...
...
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