summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/md5.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-10-26 17:40:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-10-26 17:40:12 +0000
commitbdf2c0e475ed635be43b03292b61a32adedc61bb (patch)
tree9843f998d602783554e1637f67d69f0f5f336826 /cpukit/pppd/md5.h
parentRemove i386 conditional. (diff)
downloadrtems-bdf2c0e475ed635be43b03292b61a32adedc61bb.tar.bz2
Misc. minor fixes.
Diffstat (limited to 'cpukit/pppd/md5.h')
-rw-r--r--cpukit/pppd/md5.h10
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__ */