summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-09-29 11:23:06 +0200
committerLinus Nordberg <linus@nordu.net>2011-09-29 11:23:06 +0200
commit07b80957cf4d011f3999f8c14403073820a53abd (patch)
tree9e1085d4203d04580c48b0311fe6a4f1ff59c1b7 /tests
parented56d62fc2a90fccae235dc3775a83c609a172b6 (diff)
Test hashing some more in t_fticks.
Diffstat (limited to 'tests')
-rw-r--r--tests/t_fticks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/t_fticks.c b/tests/t_fticks.c
index a0e44c3..3a5cce6 100644
--- a/tests/t_fticks.c
+++ b/tests/t_fticks.c
@@ -35,6 +35,10 @@ main (int argc, char *argv[])
{
if (_check_hash(MAC1, KEY1, HASH1, HMAC1) != 0)
return 1;
+ /* Again, for good measure. (Or rather to make sure there's no
+ state left.) */
+ if (_check_hash(MAC1, KEY1, HASH1, HMAC1) != 0)
+ return 1;
if (_check_hash(MAC1_UC, KEY1, HASH1, HMAC1) != 0)
return 1;
if (_check_hash(MAC1_APPENDED, KEY1, HASH1, HMAC1) != 0)