]> git.sur5r.net Git - openldap/commitdiff
Need to adjust len by saltlen
authorKurt Zeilenga <kurt@openldap.org>
Wed, 8 Dec 1999 07:07:18 +0000 (07:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 8 Dec 1999 07:07:18 +0000 (07:07 +0000)
libraries/liblutil/passwd.c

index e8e406b67b47f827b7bd9c387bdc08f942216de6..8c530828829454c190d47e082f0cc8401c0f3bb8 100644 (file)
@@ -268,6 +268,8 @@ static char * pw_string64(
                memcpy( string, hash, len );
                memcpy( &string[len], salt, saltlen );
 
+               len += saltlen;
+
        } else {
                string = (char *) hash;
        }