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
Wim Lewis
nettle
Commits
088b606b
Commit
088b606b
authored
Apr 09, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test that hash digest implies init.
parent
6e9153fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ChangeLog
ChangeLog
+5
-0
testsuite/testutils.c
testsuite/testutils.c
+0
-1
No files found.
ChangeLog
View file @
088b606b
2014-04-09 Niels Möller <nisse@lysator.liu.se>
* testsuite/testutils.c (test_hash): Removed redundant init call.
Tests that digest implies init.
2014-03-28 Niels Möller <nisse@lysator.liu.se>
* testsuite/dsa-keygen-test.c (test_main): Explicitly use
...
...
testsuite/testutils.c
View file @
088b606b
...
...
@@ -568,7 +568,6 @@ test_hash(const struct nettle_hash *hash,
memset
(
buffer
,
0
,
hash
->
digest_size
);
hash
->
init
(
ctx
);
hash
->
update
(
ctx
,
msg
->
length
,
msg
->
data
);
hash
->
digest
(
ctx
,
hash
->
digest_size
-
1
,
buffer
);
...
...
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