"referenced entity .* not found" message fixed to be fatal
[tac_plus.git] / md5.h
diff --git a/md5.h b/md5.h
index 097156e..90f9021 100644 (file)
--- a/md5.h
+++ b/md5.h
@@ -1,4 +1,9 @@
-/* 
+#ifndef MD5_H
+#define MD5_H 1
+
+#include "tac_plus.h"
+
+/*
    Copyright (c) 1995-1998 by Cisco systems, Inc.
 
    Permission to use, copy, modify, and distribute this software for
@@ -44,8 +49,6 @@
  * documentation and/or software.
  */
 
-#ifndef _MD5_H
-#define _MD5_H
 
 /* delineate the cisco changes to the RSA supplied module */
 #define CISCO_MD5_MODS
 #if defined(CISCO_MD5_MODS)
 
 /* typedef a 32-bit type */
-typedef unsigned long int UINT4;
+typedef tac_uint32 UINT4;
 
 /* typedef a generic pointer type */
 typedef unsigned char *POINTER;
 
-/* enable prototyping */
-/* #define PROTO_LIST(x) x */
-/* disable prototyping */
-#define PROTO_LIST(x) ()
-
 #endif /* defined(CISCO_MD5_MODS) */
 
 /* MD5 context. */
@@ -72,10 +70,10 @@ typedef struct {
   unsigned char buffer[64];                         /* input buffer */
 } MD5_CTX;
 
-void MD5Init PROTO_LIST ((MD5_CTX *));
-void MD5Update PROTO_LIST
-  ((MD5_CTX *, unsigned char *, unsigned int));
-void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
+
+extern void MD5Init TAC_ARGS((MD5_CTX *context));
+extern void MD5Update TAC_ARGS((MD5_CTX *context, unsigned char *input, unsigned int inputLen));
+extern void MD5Final TAC_ARGS((unsigned char *digest, MD5_CTX *context));
 
 
-#endif                          /* _MD5_H */
+#endif /* MD5_H */