diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-26 17:40:12 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-26 17:40:12 +0000 |
commit | bdf2c0e475ed635be43b03292b61a32adedc61bb (patch) | |
tree | 9843f998d602783554e1637f67d69f0f5f336826 /cpukit/pppd/md5.h | |
parent | Remove i386 conditional. (diff) | |
download | rtems-bdf2c0e475ed635be43b03292b61a32adedc61bb.tar.bz2 |
Misc. minor fixes.
Diffstat (limited to 'cpukit/pppd/md5.h')
-rw-r--r-- | cpukit/pppd/md5.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/pppd/md5.h b/cpukit/pppd/md5.h index 7492b2228e..1756a31228 100644 --- a/cpukit/pppd/md5.h +++ b/cpukit/pppd/md5.h @@ -39,8 +39,10 @@ #ifndef __MD5_INCLUDE__ +#include <stdint.h> + /* typedef a 32-bit type */ -typedef unsigned int UINT4; +typedef uint32_t UINT4; /* Data structure for MD5 (Message-Digest) computation */ typedef struct { @@ -50,9 +52,9 @@ typedef struct { unsigned char digest[16]; /* actual digest after MD5Final call */ } MD5_CTX; -void MD5Init (); -void MD5Update (); -void MD5Final (); +void MD5Init (MD5_CTX *); +void MD5Update (MD5_CTX *, const unsigned char *, unsigned int); +void MD5Final (unsigned char [16], MD5_CTX *); #define __MD5_INCLUDE__ #endif /* __MD5_INCLUDE__ */ |