From 07b80957cf4d011f3999f8c14403073820a53abd Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 29 Sep 2011 11:23:06 +0200 Subject: Test hashing some more in t_fticks. --- tests/t_fticks.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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) -- cgit v1.1