summaryrefslogtreecommitdiff
path: root/source4/lib/crypto/md5.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 18:23:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:08 -0500
commit4dc2599dad6a839c7aa8301c45b0583a2b14a3db (patch)
tree3f6ed6bd17ba89407f1fe7fb7c7bd043de217b57 /source4/lib/crypto/md5.c
parent5c55901266a4f176e77d41ceb6674b0d89eaef3a (diff)
downloadsamba-4dc2599dad6a839c7aa8301c45b0583a2b14a3db.tar.gz
samba-4dc2599dad6a839c7aa8301c45b0583a2b14a3db.tar.bz2
samba-4dc2599dad6a839c7aa8301c45b0583a2b14a3db.zip
r3961: - fix compiler warnings
- remove unused typedef metze (This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)
Diffstat (limited to 'source4/lib/crypto/md5.c')
-rw-r--r--source4/lib/crypto/md5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/crypto/md5.c b/source4/lib/crypto/md5.c
index 07028e9043..38ef3fdfbd 100644
--- a/source4/lib/crypto/md5.c
+++ b/source4/lib/crypto/md5.c
@@ -22,6 +22,7 @@
#include "md5.h"
+
static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
/*
@@ -57,7 +58,7 @@ void MD5Init(struct MD5Context *ctx)
* Update context to reflect the concatenation of another buffer full
* of bytes.
*/
-void MD5Update(struct MD5Context *ctx, uint8_t const *buf, uint_t len)
+void MD5Update(struct MD5Context *ctx, const uint8_t const *buf, uint_t len)
{
register uint32_t t;