summaryrefslogtreecommitdiffstats
path: root/source/lib/crypto
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-12-14 06:09:04 +0000
committerTim Potter <tpot@samba.org>2004-12-14 06:09:04 +0000
commitfcb72d1d6ff9533b5a7cbe6eae609891fd353fbd (patch)
treed3ef9d37118515def17e2a9cb1b053c960662cb7 /source/lib/crypto
parent1f6a4256a8da5b438c820b31f393e0226d4c822d (diff)
downloadsamba-fcb72d1d6ff9533b5a7cbe6eae609891fd353fbd.tar.gz
samba-fcb72d1d6ff9533b5a7cbe6eae609891fd353fbd.tar.xz
samba-fcb72d1d6ff9533b5a7cbe6eae609891fd353fbd.zip
r4197: Remove silly extra const.
Diffstat (limited to 'source/lib/crypto')
-rw-r--r--source/lib/crypto/md5.c2
-rw-r--r--source/lib/crypto/md5.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/crypto/md5.c b/source/lib/crypto/md5.c
index 38ef3fdfbd7..f59b35a0b8d 100644
--- a/source/lib/crypto/md5.c
+++ b/source/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/source/lib/crypto/md5.h b/source/lib/crypto/md5.h
index a622cf232a2..51aa5e4ca55 100644
--- a/source/lib/crypto/md5.h
+++ b/source/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);