Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Wim Lewis
nettle
Commits
fa871b5b
Commit
fa871b5b
authored
Nov 25, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved ASSERT failure message for testsuite.
parent
4daca969
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ChangeLog
ChangeLog
+2
-0
testsuite/testutils.h
testsuite/testutils.h
+2
-1
No files found.
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
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