X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/2fe58dfd10216a37f1ece081f926971882de112e..4f5e39ec:/md5.c diff --git a/md5.c b/md5.c index ab00d26..043c9c1 100644 --- a/md5.c +++ b/md5.c @@ -20,12 +20,8 @@ * Still in the public domain. */ -#include /* for memcpy() */ -#include /* for stupid systems */ -#include /* for ntohl() */ - #include "secnet.h" -#include "config.h" +#include /* for memcpy() */ #include "md5.h" #ifdef WORDS_BIGENDIAN @@ -283,7 +279,7 @@ void md5_module(dict_t *dict) 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; @@ -300,7 +296,7 @@ void md5_module(dict_t *dict) 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"); } } }