From f469a7e9998cf5caf8f2f7cdf89a964da45670e0 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 30 Sep 1996 04:01:31 +0000 Subject: Moved definitions of BYTE and LONG in from header file. --- lib/libc/hash/sha1.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libc/hash') 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 #endif +/* Useful defines/typedefs */ + +typedef unsigned char BYTE; +typedef u_int32_t LONG; /* The SHA1 f()-functions */ -- cgit v1.2.3