diff options
author | 1997-07-23 20:55:17 +0000 | |
---|---|---|
committer | 1997-07-23 20:55:17 +0000 | |
commit | c9e664a1981feb654163b05e3672911476b92930 (patch) | |
tree | 8e0a5ada91f916f7e615097fd63301adb9dbd28a /lib/libc/crypt/md5crypt.c | |
parent | add atalk (diff) | |
download | wireguard-openbsd-c9e664a1981feb654163b05e3672911476b92930.tar.xz wireguard-openbsd-c9e664a1981feb654163b05e3672911476b92930.zip |
tabify
Diffstat (limited to 'lib/libc/crypt/md5crypt.c')
-rw-r--r-- | lib/libc/crypt/md5crypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/crypt/md5crypt.c b/lib/libc/crypt/md5crypt.c index 318626a2e64..7ec60f38e0c 100644 --- a/lib/libc/crypt/md5crypt.c +++ b/lib/libc/crypt/md5crypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5crypt.c,v 1.8 1997/06/29 05:48:02 deraadt Exp $ */ +/* $OpenBSD: md5crypt.c,v 1.9 1997/07/23 20:58:27 kstailey Exp $ */ /* * ---------------------------------------------------------------------------- @@ -13,7 +13,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.8 1997/06/29 05:48:02 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.9 1997/07/23 20:58:27 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> @@ -146,7 +146,7 @@ md5crypt(pw, salt) l = (final[ 2]<<16) | (final[ 8]<<8) | final[14]; to64(p,l,4); p += 4; l = (final[ 3]<<16) | (final[ 9]<<8) | final[15]; to64(p,l,4); p += 4; l = (final[ 4]<<16) | (final[10]<<8) | final[ 5]; to64(p,l,4); p += 4; - l = final[11] ; to64(p,l,2); p += 2; + l = final[11] ; to64(p,l,2); p += 2; *p = '\0'; /* Don't leave anything around in vm they could use. */ |