From 1a6dd7e4eb7cebf997d6b910e3d66985c4b0de66 Mon Sep 17 00:00:00 2001 From: John Carr Date: Fri, 21 Aug 1992 03:23:41 +0000 Subject: [PATCH] Replace "UINT4" wiht "krb5_ui_4" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2366 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/rsa-md4.h | 20 ++++++++++---------- 1 file 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 +#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 +#include /* 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__ -- 2.26.2