Commit 088b606b authored by Niels Möller's avatar Niels Möller

Test that hash digest implies init.

parent 6e9153fe
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment