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