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