diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-30 04:01:31 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-30 04:01:31 +0000 |
commit | f469a7e9998cf5caf8f2f7cdf89a964da45670e0 (patch) | |
tree | 55fdb043c745e9b0a68a45a511de3a84b8986c0a /lib/libc/hash | |
parent | bba15a262e300b4b9c64663d6c08294ee5acee91 (diff) |
Moved definitions of BYTE and LONG in from header file.
Diffstat (limited to 'lib/libc/hash')
-rw-r--r-- | lib/libc/hash/sha1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/hash/sha1.c b/lib/libc/hash/sha1.c index 706fdbd5a2d..5c90785a368 100644 --- a/lib/libc/hash/sha1.c +++ b/lib/libc/hash/sha1.c @@ -1,5 +1,5 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sha1.c,v 1.2 1996/09/29 17:18:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: sha1.c,v 1.3 1996/09/30 04:01:30 millert Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -30,6 +30,10 @@ static char rcsid[] = "$OpenBSD: sha1.c,v 1.2 1996/09/29 17:18:17 millert Exp $" #include <time.h> #endif +/* Useful defines/typedefs */ + +typedef unsigned char BYTE; +typedef u_int32_t LONG; /* The SHA1 f()-functions */ |