From: Howard Chu Date: Tue, 9 Jan 2007 01:35:31 +0000 (+0000) Subject: Fix TLS parsing X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~233 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99a1d0f979f92705c665a88520edbded7a17c822;p=openldap Fix TLS parsing --- diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index afaad7e8fb..9ea98fb72f 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -1396,8 +1396,8 @@ done_url:; } li->li_flags &= ~LDAP_BACK_F_TLS_MASK; li->li_flags |= tls_mode[i].mask; - if ( c->argc > 2 ) { - for ( i=0; iargc; i++ ) { + if ( c->argc > 3 ) { + for ( i=2; iargc; i++ ) { if ( bindconf_tls_parse( c->argv[i], &li->li_tls )) return 1; }