From: Kurt Zeilenga Date: Wed, 8 Dec 1999 07:07:18 +0000 (+0000) Subject: Need to adjust len by saltlen X-Git-Tag: UCDATA_2_4~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=96a126e36af50dc692c8dfa829d90dcf640930e8;p=openldap Need to adjust len by saltlen --- 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; }