diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-12-11 15:10:02 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-12-11 15:10:02 +0000 |
| commit | 8bd88c453b3a7ccaefb7ecb866b8433ffd877ab3 (patch) | |
| tree | bda428aee6dd4a520cb6d9b6d96674803b3d1aa6 /contrib/cvs/lib | |
| parent | 5e84812fa385eebe9addbe9ccc22e3608bf32ca0 (diff) | |
Notes
Diffstat (limited to 'contrib/cvs/lib')
| -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 876b6327276f..3b5ba05891f2 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 */ |
