From 99a1d0f979f92705c665a88520edbded7a17c822 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 9 Jan 2007 01:35:31 +0000 Subject: [PATCH] Fix TLS parsing --- servers/slapd/back-ldap/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5