projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed56d62
)
Test hashing some more in t_fticks.
author
Linus Nordberg
<linus@nordu.net>
Thu, 29 Sep 2011 09:23:06 +0000
(11:23 +0200)
committer
Linus Nordberg
<linus@nordu.net>
Thu, 29 Sep 2011 09:23:06 +0000
(11:23 +0200)
tests/t_fticks.c
patch
|
blob
|
history
diff --git
a/tests/t_fticks.c
b/tests/t_fticks.c
index
a0e44c3
..
3a5cce6
100644
(file)
--- 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)