summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-11-24 05:22:27 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-11-24 05:22:27 +0000
commitd4477774eb9c9f6004440b0e8be6acd84ec3bd62 (patch)
treee3ac7fb2bd87ab80586ba3b2edc2d031b2239b46 /sys/lib
parentd555bf13b5d1cb8ca90ead6afa2e8168d66b851a (diff)
make it use system bcopy/bzero (speeds up the vax about twice); from pr3549
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/md5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libkern/md5.c b/sys/lib/libkern/md5.c
index bdd3d84e1d4..c30a25ae89c 100644
--- a/sys/lib/libkern/md5.c
+++ b/sys/lib/libkern/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.9 2002/06/14 21:34:59 todd Exp $ */
+/* $OpenBSD: md5.c,v 1.10 2003/11/24 05:22:26 mickey Exp $ */
/*
* The rest of the code is derived from MD5C.C by RSADSI. Minor cosmetic
@@ -74,6 +74,7 @@ static void Encode(unsigned char *, UINT4 *, unsigned int);
static void Decode(UINT4 *, unsigned char *, unsigned int);
#endif
+#define HAVEBCOPY
#ifdef HAVEMEMCOPY
#include <memory.h>
#define MD5_memcpy memcpy