From c35ed090bc63f1341a42e23132716b8ba94d6651 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 10 Oct 1999 04:58:03 +0000 Subject: [PATCH] (MD5Update): type correctness git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7134 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/des/md5.c b/lib/des/md5.c index bfada0ae4..2e8cc0dfe 100644 --- a/lib/des/md5.c +++ b/lib/des/md5.c @@ -285,7 +285,7 @@ MD5Init (MD5_CTX *mdContext) void MD5Update (MD5_CTX *mdContext, const unsigned char *inBuf, unsigned int inLen) { - md5_update(&mdContext->m.d5, (unsigned char *)inBuf, inLen); + md5_update(&mdContext->m.d5, (const unsigned char *)inBuf, inLen); } void