]> git.sur5r.net Git - openldap/commitdiff
Found and fixed stupid bug in seeded hash generation.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 8 Dec 1999 19:23:32 +0000 (19:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 8 Dec 1999 19:23:32 +0000 (19:23 +0000)
libraries/liblutil/passwd.c

index 8c530828829454c190d47e082f0cc8401c0f3bb8..642525f5b636935f78239fa98ce58df1f1ffbf27 100644 (file)
@@ -254,7 +254,7 @@ static char * pw_string64(
        int rc;
        char *string;
        size_t b64len;
-       size_t len = hashlen + saltlen;
+       size_t len = hashlen;
        char *b64;
 
        if( saltlen ) {