summaryrefslogtreecommitdiff
path: root/test/c/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/sha1.c')
-rw-r--r--test/c/sha1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/c/sha1.c b/test/c/sha1.c
index 7ea413a..84d0072 100644
--- a/test/c/sha1.c
+++ b/test/c/sha1.c
@@ -210,7 +210,9 @@ static void do_bench(int nblocks)
struct SHA1Context ctx;
unsigned char output[20];
unsigned char data[64];
+ int i;
+ for (i = 0; i < 64; i++) data[i] = i;
SHA1_init(&ctx);
for (; nblocks > 0; nblocks--)
SHA1_add_data(&ctx, data, 64);