diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/crypt/md5crypt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/crypt/md5crypt.c b/lib/libc/crypt/md5crypt.c index f17a8d374cb..0d661cb7541 100644 --- a/lib/libc/crypt/md5crypt.c +++ b/lib/libc/crypt/md5crypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5crypt.c,v 1.2 1996/06/03 22:20:37 niklas Exp $ */ +/* $OpenBSD: md5crypt.c,v 1.3 1996/07/02 23:05:38 deraadt Exp $ */ /* * ---------------------------------------------------------------------------- @@ -11,7 +11,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.2 1996/06/03 22:20:37 niklas Exp $"; +static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.3 1996/07/02 23:05:38 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> @@ -44,12 +44,12 @@ md5crypt(pw, salt) register const char *pw; register const char *salt; { - static char *magic = "$1$"; /* - * This string is magic for - * this algorithm. Having - * it this way, we can get - * get better later on - */ + /* + * This string is magic for this algorithm. Having + * it this way, we can get get better later on + */ + static char *magic = "$1$"; + static char passwd[120], *p; static const char *sp,*ep; unsigned char final[16]; |