summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-09-07 12:13:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:32 -0500
commit8401971a872dba206d7c2ea2c0ffe1aafd891ba0 (patch)
tree9eb8112ea9495ab385ad4cb63e1a519905c8a399 /source3/lib
parent85811b273dac3e38018735e2c34bed68ddee3917 (diff)
downloadsamba-8401971a872dba206d7c2ea2c0ffe1aafd891ba0.tar.gz
samba-8401971a872dba206d7c2ea2c0ffe1aafd891ba0.tar.bz2
samba-8401971a872dba206d7c2ea2c0ffe1aafd891ba0.zip
r24993: Apply some const
(This used to be commit 613b9fcd18bcc29bf5313e2287b53b8de430d17e)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/hmacmd5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/hmacmd5.c b/source3/lib/hmacmd5.c
index 7f71152180..86db3aa236 100644
--- a/source3/lib/hmacmd5.c
+++ b/source3/lib/hmacmd5.c
@@ -121,7 +121,8 @@ void hmac_md5_final(unsigned char *digest, HMACMD5Context *ctx)
use the microsoft hmacmd5 init method because the key is 16 bytes.
************************************************************/
-void hmac_md5( unsigned char key[16], unsigned char *data, int data_len, unsigned char *digest)
+void hmac_md5( unsigned char key[16], const unsigned char *data, int data_len,
+ unsigned char *digest)
{
HMACMD5Context ctx;
hmac_md5_init_limK_to_64(key, 16, &ctx);