]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/md5.h
Get the repository a bit closer to what will be released
[ppp.git] / pppd / md5.h
index 7492b2228e2bee024cfca3e5a73dc9567ef265bd..f7a0c9641834ed878a732ac83f2a8dca77ae824a 100644 (file)
 #ifndef __MD5_INCLUDE__
 
 /* typedef a 32-bit type */
+#ifdef _LP64
 typedef unsigned int UINT4;
+typedef int          INT4;
+#else
+typedef unsigned long UINT4;
+typedef long          INT4;
+#endif
+#define _UINT4_T
 
 /* Data structure for MD5 (Message-Digest) computation */
 typedef struct {
@@ -50,9 +57,9 @@ typedef struct {
   unsigned char digest[16];     /* actual digest after MD5Final call */
 } MD5_CTX;
 
-void MD5Init ();
-void MD5Update ();
-void MD5Final ();
+void MD5_Init ();
+void MD5_Update ();
+void MD5_Final ();
 
 #define __MD5_INCLUDE__
 #endif /* __MD5_INCLUDE__ */