diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/rsa-md4.h | 20 |
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__ |
