summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1992-08-21 03:23:41 +0000
committerJohn Carr <jfc@mit.edu>1992-08-21 03:23:41 +0000
commit1a6dd7e4eb7cebf997d6b910e3d66985c4b0de66 (patch)
tree43ef860c55ade521fd3c882972f279046b630836 /src
parent9032524afd0549f615d93de9cf7c71075cd9dfaf (diff)
downloadkrb5-1a6dd7e4eb7cebf997d6b910e3d66985c4b0de66.tar.gz
krb5-1a6dd7e4eb7cebf997d6b910e3d66985c4b0de66.tar.xz
krb5-1a6dd7e4eb7cebf997d6b910e3d66985c4b0de66.zip
Replace "UINT4" wiht "krb5_ui_4"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2366 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/include/krb5/rsa-md4.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/krb5/rsa-md4.h b/src/include/krb5/rsa-md4.h
index bb54ed908..9102aa361 100644
--- a/src/include/krb5/rsa-md4.h
+++ b/src/include/krb5/rsa-md4.h
@@ -29,6 +29,10 @@
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
+#ifdef unicos61
+#include <sys/types.h>
+#endif /* unicos61 */
+
/* 16 u_char's in the digest */
#define RSA_MD4_CKSUM_LENGTH 16
/* des blocksize is 8, so this works nicely... */
@@ -71,19 +75,15 @@ extern krb5_checksum_entry
**********************************************************************
*/
-#ifdef BITS32
-/* typedef a 32 bit type */
-typedef unsigned long int UINT4;
-#else
- error: you gotta fix this implementation to deal with non-32 bit words;
-#endif
+#include <krb5/config.h>
+#include <krb5/wordsize.h>
/* Data structure for MD4 (Message Digest) computation */
typedef struct {
- UINT4 i[2]; /* number of _bits_ handled mod 2^64 */
- UINT4 buf[4]; /* scratch buffer */
- unsigned char in[64]; /* input buffer */
- unsigned char digest[16]; /* actual digest after MD4Final call */
+ krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
+ krb5_ui_4 buf[4]; /* scratch buffer */
+ unsigned char in[64]; /* input buffer */
+ unsigned char digest[16]; /* actual digest after MD4Final call */
} MD4_CTX;
#ifdef __STDC__