summaryrefslogtreecommitdiffstats
path: root/cpukit/libmd/md5.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:50:49 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 14:32:24 +0100
commit4479006955a6ae8458e42c87ac2aee169a67d243 (patch)
treeda38dba060a6d5840a48225e616eb107b9620d4d /cpukit/libmd/md5.c
parentFilesystem: Clear open flag early in close() (diff)
downloadrtems-4479006955a6ae8458e42c87ac2aee169a67d243.tar.bz2
libmd: Change MD5Update() prototype
This is in line with the FreeBSD and OpenSSL prototypes. It helps to avoid superfluous compiler warnings.
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);