* 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
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;
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");
}
}
}