chiark / gitweb /
Import release 0.1.12
[secnet.git] / md5.c
diff --git a/md5.c b/md5.c
index ab00d26efb41028978569fefe86d0adae1022a23..8c962d9a4bac76ee2bf09f9230964c5c14b6f8f0 100644 (file)
--- a/md5.c
+++ b/md5.c
  * Still in the public domain.
  */
 
-#include <string.h>            /* for memcpy() */
-#include <sys/types.h>         /* for stupid systems */
-#include <netinet/in.h>                /* for ntohl() */
-
 #include "secnet.h"
-#include "config.h"
+#include <string.h>            /* 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;