From 4479006955a6ae8458e42c87ac2aee169a67d243 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 31 Oct 2013 13:50:49 +0100 Subject: libmd: Change MD5Update() prototype This is in line with the FreeBSD and OpenSSL prototypes. It helps to avoid superfluous compiler warnings. --- cpukit/libmd/md5.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/libmd/md5.c') diff --git a/cpukit/libmd/md5.c b/cpukit/libmd/md5.c index fa64a122af..4c909f37a0 100644 --- a/cpukit/libmd/md5.c +++ b/cpukit/libmd/md5.c @@ -125,12 +125,15 @@ void MD5Init ( */ void MD5Update ( MD5_CTX *mdContext, - const unsigned char *inBuf, + const void *inBufArg, unsigned int inLen ) { UINT4 in[16]; int mdi; unsigned int i, ii; + const unsigned char *inBuf; + + inBuf = inBufArg; /* compute number of bytes mod 64 */ mdi = (int)((mdContext->i[0] >> 3) & 0x3F); -- cgit v1.2.3