summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-12-14 06:09:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:25 -0500
commit5bb1939e9e65e6b0c27310e412bfa94d67ee977e (patch)
treee1d419e1095e66ab1b40c7d9829e67f6df4effd3 /source4
parentc80d77cdb8ab4b519c7c688cf4d0bf793a361424 (diff)
downloadsamba-5bb1939e9e65e6b0c27310e412bfa94d67ee977e.tar.gz
samba-5bb1939e9e65e6b0c27310e412bfa94d67ee977e.tar.bz2
samba-5bb1939e9e65e6b0c27310e412bfa94d67ee977e.zip
r4197: Remove silly extra const.
(This used to be commit fcbfa888defe4f904e0c4b4f723d53a03422ad80)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/crypto/md5.c2
-rw-r--r--source4/lib/crypto/md5.h2
2 files changed, 2 insertions, 2 deletions
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);