From 10bed2d13e6d670f4ed0f18e564f1e6790f2d812 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Thu, 16 Jun 2022 22:43:56 +0200 Subject: 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. --- src/hash/md5/md5.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/hash/md5/md5.h') 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 *)); -- cgit v1.2.3