summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-10-03 23:51:17 +0100
committerRoy Marples <roy@marples.name>2017-10-03 23:51:17 +0100
commit121de3ede63f69ad52331310478acf986cfaedd2 (patch)
tree719d0b5064845a8f7c53a585152e4c0a19d5e43d
parent5e2811aa5a2f7883960be1606b7016132550c21b (diff)
downloaddhcpcd-121de3ede63f69ad52331310478acf986cfaedd2.tar.xz
Specify MD5_BLOCK_LENGTH as ULL to try and work around a compiler issue.
-rw-r--r--compat/crypt/md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/crypt/md5.h b/compat/crypt/md5.h
index 402309c3..dd156163 100644
--- a/compat/crypt/md5.h
+++ b/compat/crypt/md5.h
@@ -19,7 +19,7 @@
#define MD5_H_
#define MD5_DIGEST_LENGTH 16
-#define MD5_BLOCK_LENGTH 64
+#define MD5_BLOCK_LENGTH 64ULL
typedef struct MD5Context {
uint32_t state[4]; /* state (ABCD) */