]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
fix missing declaration(s)
authorPierangelo Masarati <ando@openldap.org>
Sat, 13 Aug 2005 11:29:23 +0000 (11:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 13 Aug 2005 11:29:23 +0000 (11:29 +0000)
libraries/liblutil/passwd.c

index fa39c55b9a0b0ae94745da34f9a0300af81f22cd..d5f2775e3e7f9fa7432a57a7391a750fd7806135 100644 (file)
@@ -831,6 +831,7 @@ static int chk_crypt(
        const char **text )
 {
        unsigned int i;
+       char *cr;
 
        for( i=0; i<cred->bv_len; i++) {
                if(cred->bv_val[i] == '\0') {
@@ -874,7 +875,7 @@ static int chk_unix(
        const char **text )
 {
        unsigned int i;
-       char *pw;
+       char *pw, *cr;
 
        for( i=0; i<cred->bv_len; i++) {
                if(cred->bv_val[i] == '\0') {