summaryrefslogtreecommitdiffstats
path: root/nthash.c
diff options
context:
space:
mode:
Diffstat (limited to 'nthash.c')
-rw-r--r--nthash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nthash.c b/nthash.c
index 2a8aca0..ac3922a 100644
--- a/nthash.c
+++ b/nthash.c
@@ -45,7 +45,7 @@ int main(int argc, char **argv) {
md4_digest(&ctx, MD4_DIGEST_SIZE, digest);
- for (i = 0; i < MD4_DIGEST_SIZE -1; i++)
+ for (i = 0; i < MD4_DIGEST_SIZE; i++)
printf("%02x", digest[i]);
putchar('\n');