diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-09-15 15:53:04 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-10-20 12:03:37 -0500 |
commit | e400455deb0c5717b85fd4747795cd7749fbd953 (patch) | |
tree | 6233f75fe7943705afa0d76fb405bdfb9b4f23f5 /lib/libmd/ripemd.h | |
parent | fbbde3a0d1cef7642b2575e0b008ab41c519809c (diff) | |
download | FreeBSD-src-e400455deb0c5717b85fd4747795cd7749fbd953.zip FreeBSD-src-e400455deb0c5717b85fd4747795cd7749fbd953.tar.gz |
MFC r282736:
Unbreak build following rev. 282726
(Makefile.inc1): add dependency of xinstall on libmd to
avoid failure of parallel bootstrap.
(lib/libmd/*.h): do not redefine symbols if already
defined as macros (libcrypt uses the same sources internally,
redefining symbols with a prefix of its own).
Fixes build failures caused by previous change to libmd.
Reported by: ian
Pointy hat to: thomas
TAG: IPSEC-HEAD
Issue: #4841
Diffstat (limited to 'lib/libmd/ripemd.h')
-rw-r--r-- | lib/libmd/ripemd.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libmd/ripemd.h b/lib/libmd/ripemd.h index 1f8725a..778808f 100644 --- a/lib/libmd/ripemd.h +++ b/lib/libmd/ripemd.h @@ -84,17 +84,37 @@ __BEGIN_DECLS /* Ensure libmd symbols do not clash with libcrypto */ +#ifndef RIPEMD160_Init #define RIPEMD160_Init _libmd_RIPEMD160_Init +#endif +#ifndef RIPEMD160_Update #define RIPEMD160_Update _libmd_RIPEMD160_Update +#endif +#ifndef RIPEMD160_Final #define RIPEMD160_Final _libmd_RIPEMD160_Final +#endif +#ifndef RIPEMD160_End #define RIPEMD160_End _libmd_RIPEMD160_End +#endif +#ifndef RIPEMD160_File #define RIPEMD160_File _libmd_RIPEMD160_File +#endif +#ifndef RIPEMD160_FileChunk #define RIPEMD160_FileChunk _libmd_RIPEMD160_FileChunk +#endif +#ifndef RIPEMD160_Data #define RIPEMD160_Data _libmd_RIPEMD160_Data +#endif +#ifndef RIPEMD160_Transform #define RIPEMD160_Transform _libmd_RIPEMD160_Transform +#endif +#ifndef RMD160_version #define RMD160_version _libmd_RMD160_version +#endif +#ifndef ripemd160_block #define ripemd160_block _libmd_ripemd160_block +#endif void RIPEMD160_Init(RIPEMD160_CTX *c); void RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, |