summaryrefslogtreecommitdiffstats
path: root/lib/libmd/sha256.h
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-02-23 18:54:33 +0000
committeravg <avg@FreeBSD.org>2017-02-23 18:54:33 +0000
commit157fcfb3d2f5a1bf86536d83ffa0f31c148fe9d9 (patch)
tree6629050489036f351a60e88b0408fd24a03c8ff6 /lib/libmd/sha256.h
parent2328253ad06357a125fe7b6ca82ec06802e5abe2 (diff)
downloadFreeBSD-src-157fcfb3d2f5a1bf86536d83ffa0f31c148fe9d9.zip
FreeBSD-src-157fcfb3d2f5a1bf86536d83ffa0f31c148fe9d9.tar.gz
MFC r282736: Unbreak build following rev. 282726 (MFC-ed as r314144)
Diffstat (limited to 'lib/libmd/sha256.h')
-rw-r--r--lib/libmd/sha256.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libmd/sha256.h b/lib/libmd/sha256.h
index 3419048..3da6dda 100644
--- a/lib/libmd/sha256.h
+++ b/lib/libmd/sha256.h
@@ -41,16 +41,34 @@ __BEGIN_DECLS
/* Ensure libmd symbols do not clash with libcrypto */
+#ifndef SHA256_Init
#define SHA256_Init _libmd_SHA256_Init
+#endif
+#ifndef SHA256_Update
#define SHA256_Update _libmd_SHA256_Update
+#endif
+#ifndef SHA256_Final
#define SHA256_Final _libmd_SHA256_Final
+#endif
+#ifndef SHA256_End
#define SHA256_End _libmd_SHA256_End
+#endif
+#ifndef SHA256_File
#define SHA256_File _libmd_SHA256_File
+#endif
+#ifndef SHA256_FileChunk
#define SHA256_FileChunk _libmd_SHA256_FileChunk
+#endif
+#ifndef SHA256_Data
#define SHA256_Data _libmd_SHA256_Data
+#endif
+#ifndef SHA256_Transform
#define SHA256_Transform _libmd_SHA256_Transform
+#endif
+#ifndef SHA256_version
#define SHA256_version _libmd_SHA256_version
+#endif
void SHA256_Init(SHA256_CTX *);
void SHA256_Update(SHA256_CTX *, const void *, size_t);
OpenPOWER on IntegriCloud