projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Check some typos
[gnulib.git]
/
tests
/
test-gc-md5.c
diff --git
a/tests/test-gc-md5.c
b/tests/test-gc-md5.c
index
61cc573
..
b5985e6
100644
(file)
--- a/
tests/test-gc-md5.c
+++ b/
tests/test-gc-md5.c
@@
-17,9
+17,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA. */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
@@
-59,7
+57,7
@@
main (int argc, char *argv[])
if (memcmp (out, expect, 16) != 0)
{
size_t i;
if (memcmp (out, expect, 16) != 0)
{
size_t i;
- printf ("md5 1 mis
s
match. expected:\n");
+ printf ("md5 1 mismatch. expected:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");
@@
-78,7
+76,7
@@
main (int argc, char *argv[])
if (memcmp (out, expect, 16) != 0)
{
size_t i;
if (memcmp (out, expect, 16) != 0)
{
size_t i;
- printf ("md5 2 mis
s
match. expected:\n");
+ printf ("md5 2 mismatch. expected:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");
@@
-113,7
+111,7
@@
main (int argc, char *argv[])
if (memcmp (p, expect, 16) != 0)
{
size_t i;
if (memcmp (p, expect, 16) != 0)
{
size_t i;
- printf ("md5 3 mis
s
match. expected:\n");
+ printf ("md5 3 mismatch. expected:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 16; i++)
printf ("%02x ", expect[i] & 0xFF);
printf ("\ncomputed:\n");