summaryrefslogtreecommitdiff
path: root/include/md5.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-09-29 14:53:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-09-29 14:53:11 +0000
commit0626d2a3680b7e66f0c987b5ad5ddf816b859b6a (patch)
tree56f9118dfc6bc3cb9dab8b7ae46cb5d2695a9c8d /include/md5.h
parent96a979bd9da710c628ed978daf898e0176f6f813 (diff)
Use bittypes so we work on 64-bit machines.
Diffstat (limited to 'include/md5.h')
-rw-r--r--include/md5.h6
1 files changed, 3 insertions, 3 deletions
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;