# HG changeset patch # User Simon Josefsson # Date 1130507719 0 # Node ID fca6cdd9520b59a7714bbeb7599c440bf496c2cb # Parent be00741570b72ee18f30574a94f4b31bcc8b538e Fix typos in comment, suggested by Ralf Wildenhues . diff --git a/tests/test-gc-hmac-md5.c b/tests/test-gc-hmac-md5.c --- a/tests/test-gc-hmac-md5.c +++ b/tests/test-gc-hmac-md5.c @@ -66,7 +66,7 @@ if (memcmp (digest, out, 16) != 0) { size_t i; - printf ("hash 1 missmatch. expected:\n"); + printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-gc-hmac-sha1.c b/tests/test-gc-hmac-sha1.c --- a/tests/test-gc-hmac-sha1.c +++ b/tests/test-gc-hmac-sha1.c @@ -57,7 +57,7 @@ if (memcmp (digest, out, GC_SHA1_DIGEST_SIZE) != 0) { size_t i; - printf ("hash 1 missmatch. expected:\n"); + printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-gc-md2.c b/tests/test-gc-md2.c --- a/tests/test-gc-md2.c +++ b/tests/test-gc-md2.c @@ -57,7 +57,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md2 1 missmatch. expected:\n"); + printf ("md2 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -76,7 +76,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md2 2 missmatch. expected:\n"); + printf ("md2 2 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -111,7 +111,7 @@ if (memcmp (p, expect, 16) != 0) { size_t i; - printf ("md2 3 missmatch. expected:\n"); + printf ("md2 3 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-gc-md4.c b/tests/test-gc-md4.c --- a/tests/test-gc-md4.c +++ b/tests/test-gc-md4.c @@ -59,7 +59,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md4 1 missmatch. expected:\n"); + printf ("md4 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -78,7 +78,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md4 1 missmatch. expected:\n"); + printf ("md4 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -113,7 +113,7 @@ if (memcmp (p, expect, 16) != 0) { size_t i; - printf ("md4 1 missmatch. expected:\n"); + printf ("md4 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-gc-md5.c b/tests/test-gc-md5.c --- a/tests/test-gc-md5.c +++ b/tests/test-gc-md5.c @@ -59,7 +59,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md5 1 missmatch. expected:\n"); + printf ("md5 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -78,7 +78,7 @@ if (memcmp (out, expect, 16) != 0) { size_t i; - printf ("md5 2 missmatch. expected:\n"); + printf ("md5 2 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -113,7 +113,7 @@ if (memcmp (p, expect, 16) != 0) { size_t i; - printf ("md5 3 missmatch. expected:\n"); + printf ("md5 3 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-gc-sha1.c b/tests/test-gc-sha1.c --- a/tests/test-gc-sha1.c +++ b/tests/test-gc-sha1.c @@ -55,7 +55,7 @@ if (memcmp (out, expect, 20) != 0) { size_t i; - printf ("sha1 missmatch. expected:\n"); + printf ("sha1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -75,7 +75,7 @@ if (memcmp (out, expect, 20) != 0) { size_t i; - printf ("sha1' missmatch. expected:\n"); + printf ("sha1' mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); @@ -110,7 +110,7 @@ if (memcmp (p, expect, 20) != 0) { size_t i; - printf ("sha1 1 missmatch. expected:\n"); + printf ("sha1 1 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-hmac-md5.c b/tests/test-hmac-md5.c --- a/tests/test-hmac-md5.c +++ b/tests/test-hmac-md5.c @@ -57,7 +57,7 @@ if (memcmp (digest, out, 16) != 0) { size_t i; - printf ("hash 1 missmatch. expected:\n"); + printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); @@ -92,7 +92,7 @@ if (memcmp (digest, out, 16) != 0) { size_t i; - printf ("hash 2 missmatch. expected:\n"); + printf ("hash 2 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); @@ -136,7 +136,7 @@ if (memcmp (digest, out, 16) != 0) { size_t i; - printf ("hash 3 missmatch. expected:\n"); + printf ("hash 3 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); diff --git a/tests/test-hmac-sha1.c b/tests/test-hmac-sha1.c --- a/tests/test-hmac-sha1.c +++ b/tests/test-hmac-sha1.c @@ -48,7 +48,7 @@ if (memcmp (digest, out, 20) != 0) { size_t i; - printf ("hash 1 missmatch. expected:\n"); + printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); @@ -77,7 +77,7 @@ if (memcmp (digest, out, 20) != 0) { size_t i; - printf ("hash 2 missmatch. expected:\n"); + printf ("hash 2 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); @@ -110,7 +110,7 @@ if (memcmp (digest, out, 20) != 0) { size_t i; - printf ("hash 3 missmatch. expected:\n"); + printf ("hash 3 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n");