aboutsummaryrefslogtreecommitdiff
path: root/lib/libmd/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmd/md5.h')
-rw-r--r--lib/libmd/md5.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libmd/md5.h b/lib/libmd/md5.h
index 1d6ee6c52fe8..5ab3b1417633 100644
--- a/lib/libmd/md5.h
+++ b/lib/libmd/md5.h
@@ -7,15 +7,33 @@
/* 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