diff options
author | 1997-06-29 05:48:02 +0000 | |
---|---|---|
committer | 1997-06-29 05:48:02 +0000 | |
commit | 89e26a152eee788cf8025359c0a6b5cc23cad48e (patch) | |
tree | 3c2f655a496f3f0d8046ec8f6af49c1febc7eeeb /lib/libc | |
parent | surely not a long (diff) | |
download | wireguard-openbsd-89e26a152eee788cf8025359c0a6b5cc23cad48e.tar.xz wireguard-openbsd-89e26a152eee788cf8025359c0a6b5cc23cad48e.zip |
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; |