c6b03be14b
Reported by: antoine@ (x265)
50 lines
781 B
C
50 lines
781 B
C
/* $FreeBSD$ */
|
|
|
|
#ifndef _MD5_H_
|
|
#define _MD5_H_
|
|
|
|
#ifndef _KERNEL
|
|
|
|
/* Ensure libmd symbols do not clash with libcrypto */
|
|
|
|
#ifndef MD5Init
|
|
#define MD5Init _libmd_MD5Init
|
|
#endif
|
|
#ifndef MD5Update
|
|
#define MD5Update _libmd_MD5Update
|
|
#endif
|
|
#ifndef MD5Pad
|
|
#define MD5Pad _libmd_MD5Pad
|
|
#endif
|
|
#ifndef MD5Final
|
|
#define MD5Final _libmd_MD5Final
|
|
#endif
|
|
#ifndef MD5Transform
|
|
#define MD5Transform _libmd_MD5Transform
|
|
#endif
|
|
#ifndef MD5End
|
|
#define MD5End _libmd_MD5End
|
|
#endif
|
|
#ifndef MD5File
|
|
#define MD5File _libmd_MD5File
|
|
#endif
|
|
#ifndef MD5FileChunk
|
|
#define MD5FileChunk _libmd_MD5FileChunk
|
|
#endif
|
|
#ifndef MD5Data
|
|
#define MD5Data _libmd_MD5Data
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
#define static
|
|
#endif
|
|
|
|
#include <sys/md5.h>
|
|
|
|
#ifdef __cplusplus
|
|
#undef static
|
|
#endif
|
|
#endif /* _MD5_H_ */
|