diff options
author | peter <peter@FreeBSD.org> | 1999-12-11 15:10:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-11 15:10:02 +0000 |
commit | f76c207acbf1b3fc149557abc5cf255eb9757ed7 (patch) | |
tree | acff7747e73482d9c40600e72a076e77c95b2619 /contrib | |
parent | 17ef7b81d643aaa65e7aaba16d54f2baec7e1e7c (diff) | |
download | FreeBSD-src-f76c207acbf1b3fc149557abc5cf255eb9757ed7.zip FreeBSD-src-f76c207acbf1b3fc149557abc5cf255eb9757ed7.tar.gz |
Unmangle cvs's MD5* calls.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cvs/lib/md5.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/cvs/lib/md5.h b/contrib/cvs/lib/md5.h index 876b632..3b5ba05 100644 --- a/contrib/cvs/lib/md5.h +++ b/contrib/cvs/lib/md5.h @@ -1,8 +1,21 @@ /* See md5.c for explanation and copyright information. */ +/* + * $FreeBSD$ + */ + #ifndef MD5_H #define MD5_H +#ifdef __FreeBSD__ +#define cvs_MD5Context MD5Context +#define cvs_MD5Init MD5Init +#define cvs_MD5Update MD5Update +#define cvs_MD5Final MD5Final +#define cvs_MD5Transform MD5Transform +#include <sys/md5.h> +#else + /* Unlike previous versions of this code, uint32 need not be exactly 32 bits, merely 32 bits or more. Choosing a data type which is 32 bits instead of 64 is not important; speed is considerably more @@ -23,4 +36,6 @@ void cvs_MD5Final PROTO ((unsigned char digest[16], struct cvs_MD5Context *context)); void cvs_MD5Transform PROTO ((cvs_uint32 buf[4], const unsigned char in[64])); +#endif + #endif /* !MD5_H */ |