2013-09-28 Niels Möller <nisse@lysator.liu.se>
+ * testsuite/testutils.c (test_hash_large): Added simple progress
+ indicator.
+
* macros.h (MD_PAD): Use size argument, don't depend on
sizeof of the count field(s).
hash->init(ctx);
for (i = 0; i < count; i++)
- hash->update(ctx, length, data);
+ {
+ hash->update(ctx, length, data);
+ if (i % (count / 50) == 0)
+ fprintf (stderr, ".");
+ }
+ fprintf (stderr, "\n");
+
hash->digest(ctx, hash->digest_size, buffer);
print_hex(hash->digest_size, buffer);