openbsd-ports/www/links+/patches/patch-md5hl_c
2002-12-17 08:09:23 +00:00

23 lines
415 B
Plaintext

$OpenBSD: patch-md5hl_c,v 1.1 2002/12/17 08:09:23 fgsch Exp $
--- md5hl.c.orig Thu May 9 20:12:59 2002
+++ md5hl.c Tue Dec 17 04:59:08 2002
@@ -23,6 +23,10 @@
#include <stdlib.h>
*/
+#include "cfg.h"
+
+#ifndef HAVE_MD5DATA
+
#include "links.h"
#include "md5.h"
@@ -77,5 +81,7 @@ MD5Data (const unsigned char *data, unsi
MD5Update(&ctx,data,len);
return MD5End(&ctx, buf);
}
+
+#endif
#endif