diff options
author | 2003-11-24 05:22:26 +0000 | |
---|---|---|
committer | 2003-11-24 05:22:26 +0000 | |
commit | ce27eeb7143f3d5414e69c20023a566c5110fa86 (patch) | |
tree | 3cd93f5c1e1101a470607609b95f16cd7993db13 /sys/lib/libkern/md5.c | |
parent | madvise mmapped memory (not used code) (diff) | |
download | wireguard-openbsd-ce27eeb7143f3d5414e69c20023a566c5110fa86.tar.xz wireguard-openbsd-ce27eeb7143f3d5414e69c20023a566c5110fa86.zip |
make it use system bcopy/bzero (speeds up the vax about twice); from pr3549
Diffstat (limited to 'sys/lib/libkern/md5.c')
-rw-r--r-- | sys/lib/libkern/md5.c | 3 |
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 |