]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 9 Jan 2007 02:09:44 +0000 (02:09 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 9 Jan 2007 02:09:44 +0000 (02:09 +0000)
servers/slapd/back-ldap/config.c

index 9ea98fb72f08a0201629ac29a2dd71a1994ebc14..5e0763bce739c1eba6031f218b737c216e735c48 100644 (file)
@@ -1396,7 +1396,7 @@ done_url:;
                }
                li->li_flags &= ~LDAP_BACK_F_TLS_MASK;
                li->li_flags |= tls_mode[i].mask;
-               if ( c->argc > 3 ) {
+               if ( c->argc > 2 ) {
                        for ( i=2; i<c->argc; i++ ) {
                                if ( bindconf_tls_parse( c->argv[i], &li->li_tls ))
                                        return 1;