summaryrefslogtreecommitdiff
path: root/testing/liblrdf/md5.patch
blob: 1c43b12e9ce0a2e50f275e119b1de063a0fc395d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- liblrdf-0.4.0.orig/src/lrdf_md5.h
+++ liblrdf-0.4.0/src/lrdf_md5.h
@@ -32,6 +32,15 @@
 #ifndef __MD5_H__
 #define __MD5_H__

+/* Change function names to prevent symbol conflicts */
+#define md5_init _lrdf_md5_init
+#define md5_buffer _lrdf_md5_buffer
+#define md5_sig_from_string _lrdf_md5_sig_from_string
+#define md5_finish _lrdf_md5_finish
+#define md5_process _lrdf_md5_process
+#define md5_sig_to_string _lrdf_md5_sig_to_string
+#define md5_get_result _lrdf_md5_get_result
+
 /*
  * Size of a standard MD5 signature in bytes.  This definition is for
  * external programs only.  The MD5 routines themselves reference the