summaryrefslogtreecommitdiff
path: root/lib/md5.c
diff options
context:
space:
mode:
authorvincent <vincent>2006-01-17 23:39:04 +0000
committervincent <vincent>2006-01-17 23:39:04 +0000
commiteac314c7c49f6c0ec502be08e244f91bfc778739 (patch)
treeeeb4d011b921101b05a054068d7ed8091fd235bc /lib/md5.c
parentd34b8991b4c156ff3281558dd8252d3787ae8d8b (diff)
2006-01-17 Vincent Jardin <vincent.jardin@6wind.com>
* md5.c: Don't forget to keep const. * regex.c: Cleanup code and remove warnings.
Diffstat (limited to 'lib/md5.c')
-rw-r--r--lib/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 0340e450..f1bd0668 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -1,6 +1,6 @@
/* $USAGI: md5.c,v 1.2 2000/11/02 11:59:24 yoshfuji Exp $ */
/* $KAME: md5.c,v 1.2 2000/05/27 07:07:48 jinmei Exp $ */
-/* $Id: md5.c,v 1.5 2006/01/17 17:40:45 paul Exp $ */
+/* $Id: md5.c,v 1.6 2006/01/17 23:39:04 vincent Exp $ */
/*
* Copyright (C) 2004 6WIND
@@ -149,7 +149,7 @@ void md5_init(md5_ctxt *ctxt)
void md5_loop(md5_ctxt *ctxt, const void *vinput, uint len)
{
uint gap, i;
- uint8_t *input = vinput;
+ const uint8_t *input = vinput;
ctxt->md5_n += len * 8; /* byte to bit */
gap = MD5_BUFLEN - ctxt->md5_i;