projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid creating an empty doc directory.
[gnulib.git]
/
tests
/
test-hmac-sha1.c
diff --git
a/tests/test-hmac-sha1.c
b/tests/test-hmac-sha1.c
index
663814d
..
f24193d
100644
(file)
--- a/
tests/test-hmac-sha1.c
+++ b/
tests/test-hmac-sha1.c
@@
-48,7
+48,7
@@
main (int argc, char *argv[])
if (memcmp (digest, out, 20) != 0)
{
size_t i;
if (memcmp (digest, out, 20) != 0)
{
size_t i;
- printf ("hash 1 mis
s
match. expected:\n");
+ printf ("hash 1 mismatch. expected:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");
@@
-77,7
+77,7
@@
main (int argc, char *argv[])
if (memcmp (digest, out, 20) != 0)
{
size_t i;
if (memcmp (digest, out, 20) != 0)
{
size_t i;
- printf ("hash 2 mis
s
match. expected:\n");
+ printf ("hash 2 mismatch. expected:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");
@@
-110,7
+110,7
@@
main (int argc, char *argv[])
if (memcmp (digest, out, 20) != 0)
{
size_t i;
if (memcmp (digest, out, 20) != 0)
{
size_t i;
- printf ("hash 3 mis
s
match. expected:\n");
+ printf ("hash 3 mismatch. expected:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");
for (i = 0; i < 20; i++)
printf ("%02x ", digest[i] & 0xFF);
printf ("\ncomputed:\n");