summaryrefslogtreecommitdiff
path: root/src/md5.h
diff options
context:
space:
mode:
authorXavier Roche <roche@httrack.com>2015-03-20 14:19:43 +0100
committerXavier Roche <roche@httrack.com>2015-03-20 14:19:43 +0100
commit6e2167c1a128f2d9c1e25c4b2e8187f064006d72 (patch)
tree84b8874e505e2e13fd48d376d02e1acf530d71fa /src/md5.h
parentf6c498259c61fe1d852298f9c22c011c73227a8c (diff)
Fixed duplicate declaration of MD5CTX (rahrah) (closes #63)
Diffstat (limited to 'src/md5.h')
-rw-r--r--src/md5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/md5.h b/src/md5.h
index 1a31afb..39dc40f 100644
--- a/src/md5.h
+++ b/src/md5.h
@@ -17,7 +17,7 @@ typedef unsigned long uint32;
#error undefined: SIZEOF_LONG
#endif
-typedef struct MD5Context {
+struct MD5Context {
union {
unsigned char ui8[64];
uint32 ui32[16];
@@ -25,7 +25,7 @@ typedef struct MD5Context {
uint32 buf[4];
uint32 bits[2];
int doByteReverse;
-} MD5CTX;
+};
void MD5Init(struct MD5Context *context, int brokenEndian);
void MD5Update(struct MD5Context *context, unsigned char const *buf,