aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pbkdf2.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-05 15:00:53 -0400
committerRob Austein <sra@hactrn.net>2015-06-05 15:00:53 -0400
commitce372c37127c1b8199ca1732d58b623664250e7e (patch)
tree7aa77d543c3a8ca7eb2b204d5c54f60f291150fe /tests/test-pbkdf2.c
parentf7a65af3e2505642e1006fa35138e87a8f69c37c (diff)
Get feedback cycle right in PBKDF2 iteration.
Diffstat (limited to 'tests/test-pbkdf2.c')
-rw-r--r--tests/test-pbkdf2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-pbkdf2.c b/tests/test-pbkdf2.c
index 67940b4..477dfe2 100644
--- a/tests/test-pbkdf2.c
+++ b/tests/test-pbkdf2.c
@@ -153,7 +153,8 @@ static const uint8_t pbkdf2_tc_6_DK[] = { /* 16 bytes */
static void print_hex(const uint8_t * const val, const size_t len)
{
- for (size_t i = 0; i < len; i++)
+ size_t i;
+ for (i = 0; i < len; i++)
printf(" %02x", val[i]);
}