chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.14
[secnet.git]
/
md5.c
diff --git
a/md5.c
b/md5.c
index 12217d7aa44c0bdde9dcc069c5054eef4dbb861e..043c9c1b37efe420bb015a9eda00fbd5a21e34f8 100644
(file)
--- a/
md5.c
+++ b/
md5.c
@@
-279,7
+279,7
@@
void md5_module(dict_t *dict)
uint8_t digest[16];
int i;
uint8_t digest[16];
int i;
- st=safe_malloc(sizeof(*st),"
netlink
_module");
+ st=safe_malloc(sizeof(*st),"
md5
_module");
st->cl.description="md5";
st->cl.type=CL_HASH;
st->cl.apply=NULL;
st->cl.description="md5";
st->cl.type=CL_HASH;
st->cl.apply=NULL;
@@
-296,7
+296,7
@@
void md5_module(dict_t *dict)
md5_final(ctx,digest);
for (i=0; i<16; i++) {
if (digest[i]!=expected[i]) {
md5_final(ctx,digest);
for (i=0; i<16; i++) {
if (digest[i]!=expected[i]) {
- fatal("md5 module failed self-test
\n
");
+ fatal("md5 module failed self-test");
}
}
}
}
}
}