From e385c811bb5b04c18669f68ade01d704f2f6dc0f Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 29 Jun 1997 05:48:02 +0000 Subject: [PATCH] surely not long! --- src/lib/libc/crypt/md5crypt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/libc/crypt/md5crypt.c b/src/lib/libc/crypt/md5crypt.c index e8af0cb0..318626a2 100644 --- a/src/lib/libc/crypt/md5crypt.c +++ b/src/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 @@ -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;