summaryrefslogtreecommitdiffstats
path: root/cpukit/libmd/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmd/md5.c')
-rw-r--r--cpukit/libmd/md5.c5
1 files changed, 4 insertions, 1 deletions
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);