From 96a126e36af50dc692c8dfa829d90dcf640930e8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 8 Dec 1999 07:07:18 +0000 Subject: [PATCH] Need to adjust len by saltlen --- libraries/liblutil/passwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index e8e406b67b..8c53082882 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -268,6 +268,8 @@ static char * pw_string64( memcpy( string, hash, len ); memcpy( &string[len], salt, saltlen ); + len += saltlen; + } else { string = (char *) hash; } -- 2.39.5