From 5bb1939e9e65e6b0c27310e412bfa94d67ee977e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 14 Dec 2004 06:09:04 +0000 Subject: r4197: Remove silly extra const. (This used to be commit fcbfa888defe4f904e0c4b4f723d53a03422ad80) --- source4/lib/crypto/md5.c | 2 +- source4/lib/crypto/md5.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/lib/crypto/md5.c b/source4/lib/crypto/md5.c index 38ef3fdfbd..f59b35a0b8 100644 --- a/source4/lib/crypto/md5.c +++ b/source4/lib/crypto/md5.c @@ -58,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, const uint8_t const *buf, uint_t len) +void MD5Update(struct MD5Context *ctx, const uint8_t *buf, uint_t len) { register uint32_t t; diff --git a/source4/lib/crypto/md5.h b/source4/lib/crypto/md5.h index a622cf232a..51aa5e4ca5 100644 --- a/source4/lib/crypto/md5.h +++ b/source4/lib/crypto/md5.h @@ -12,7 +12,7 @@ struct MD5Context { }; void MD5Init(struct MD5Context *context); -void MD5Update(struct MD5Context *context, const uint8_t const *buf, +void MD5Update(struct MD5Context *context, const uint8_t *buf, uint_t len); void MD5Final(uint8_t digest[16], struct MD5Context *context); -- cgit