diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-29 05:48:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-29 05:48:03 +0000 |
commit | 88658bdd91fa9f054ac9c52e7d9cccb20b646af7 (patch) | |
tree | 6aac6a4c908d9bcab47935553b350f3234a8067f /lib/libc | |
parent | 31f407b4937172b7e04d8000530c6144fe79c8d9 (diff) |
surely not long!
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/crypt/md5crypt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/crypt/md5crypt.c b/lib/libc/crypt/md5crypt.c index e8af0cb08ca..318626a2e64 100644 --- a/lib/libc/crypt/md5crypt.c +++ b/lib/libc/crypt/md5crypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5crypt.c,v 1.7 1996/12/14 06:49:36 tholo Exp $ */ +/* $OpenBSD: md5crypt.c,v 1.8 1997/06/29 05:48:02 deraadt Exp $ */ /* * ---------------------------------------------------------------------------- @@ -13,7 +13,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.7 1996/12/14 06:49:36 tholo Exp $"; +static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.8 1997/06/29 05:48:02 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> @@ -25,12 +25,12 @@ static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.7 1996/12/14 06:49:36 tholo Exp static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; -static void to64 __P((char *, unsigned long, int)); +static void to64 __P((char *, u_int32_t, int)); static void to64(s, v, n) char *s; - unsigned long v; + u_int32_t v; int n; { while (--n >= 0) { @@ -61,7 +61,7 @@ md5crypt(pw, salt) unsigned char final[16]; int sl,pl,i; MD5_CTX ctx,ctx1; - unsigned long l; + u_int32_t l; /* Refine the Salt first */ sp = (const unsigned char *)salt; |