diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-29 14:53:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-29 14:53:11 +0000 |
commit | 0626d2a3680b7e66f0c987b5ad5ddf816b859b6a (patch) | |
tree | 56f9118dfc6bc3cb9dab8b7ae46cb5d2695a9c8d /include | |
parent | 96a979bd9da710c628ed978daf898e0176f6f813 (diff) |
Use bittypes so we work on 64-bit machines.
Diffstat (limited to 'include')
-rw-r--r-- | include/md4.h | 6 | ||||
-rw-r--r-- | include/md5.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/md4.h b/include/md4.h index e7442e6b957..96620c0e51d 100644 --- a/include/md4.h +++ b/include/md4.h @@ -1,5 +1,5 @@ /* MD4.H - header file for MD4C.C - * $OpenBSD: md4.h,v 1.1 1996/06/03 22:25:54 niklas Exp $ + * $OpenBSD: md4.h,v 1.2 1996/09/29 14:53:09 millert Exp $ */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All @@ -27,8 +27,8 @@ #define _MD4_H_ /* MD4 context. */ typedef struct MD4Context { - unsigned long state[4]; /* state (ABCD) */ - unsigned long count[2]; /* number of bits, modulo 2^64 (lsb first) */ + u_int32_t state[4]; /* state (ABCD) */ + u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD4_CTX; diff --git a/include/md5.h b/include/md5.h index 6d67fc882b0..8948b31d8c6 100644 --- a/include/md5.h +++ b/include/md5.h @@ -1,5 +1,5 @@ /* MD5.H - header file for MD5C.C - * $OpenBSD: md5.h,v 1.1 1996/06/03 22:25:55 niklas Exp $ + * $OpenBSD: md5.h,v 1.2 1996/09/29 14:53:10 millert Exp $ */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All @@ -28,8 +28,8 @@ documentation and/or software. #define _MD5_H_ /* MD5 context. */ typedef struct MD5Context { - unsigned long state[4]; /* state (ABCD) */ - unsigned long count[2]; /* number of bits, modulo 2^64 (lsb first) */ + u_int32_t state[4]; /* state (ABCD) */ + u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX; |