aboutsummaryrefslogtreecommitdiff
path: root/src/hash/md5/md5.h
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-16 22:43:56 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-16 22:43:56 +0200
commit10bed2d13e6d670f4ed0f18e564f1e6790f2d812 (patch)
tree1f702032b39c6c854d6d8977b8d04d34e6e18f85 /src/hash/md5/md5.h
parente249a716e8c2d53ea843cf66ffcee75f184c0b6d (diff)
downloadOFQT-10bed2d13e6d670f4ed0f18e564f1e6790f2d812.tar.gz
OFQT-10bed2d13e6d670f4ed0f18e564f1e6790f2d812.zip
Change MD5 function signatures, make libtvn static, not object
this solves a problem on x86_64 Windows where the MD5 functions were included within ntdll. STATIC libraries have better defined behavior than static ones, and we do not compile the same thing multiple times since we use it as a libary.
Diffstat (limited to 'src/hash/md5/md5.h')
-rw-r--r--src/hash/md5/md5.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/hash/md5/md5.h b/src/hash/md5/md5.h
index 11b3ddd..d41b8fb 100644
--- a/src/hash/md5/md5.h
+++ b/src/hash/md5/md5.h
@@ -21,6 +21,8 @@ without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
documentation and/or software.
+
+Functions signatures changed as to not conflict with other libraries
*/
#include "global.h"
@@ -32,7 +34,7 @@ typedef struct {
unsigned char buffer[64]; /* input buffer */
} MD5_CTX;
-void MD5Init PROTO_LIST ((MD5_CTX *));
-void MD5Update PROTO_LIST
+void MD5_Init PROTO_LIST ((MD5_CTX *));
+void MD5_Update PROTO_LIST
((MD5_CTX *, unsigned char *, unsigned int));
-void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
+void MD5_Final PROTO_LIST ((unsigned char [16], MD5_CTX *));