From: Quanah Gibson-Mount Date: Tue, 8 Dec 2009 23:50:56 +0000 (+0000) Subject: More for ITS#6419, fix index offset X-Git-Tag: OPENLDAP_REL_ENG_2_4_21~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17aad5e54f20b9e6de7bfe55dbf4ea7bc9abac17;p=openldap More for ITS#6419, fix index offset --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index f948bc3089..df317d0028 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1248,9 +1248,9 @@ static slap_cf_aux_table bindkey[] = { { BER_BVC("authcID="), offsetof(slap_bindconf, sb_authcId), 'b', 1, NULL }, { BER_BVC("authzID="), offsetof(slap_bindconf, sb_authzId), 'b', 1, (slap_verbmasks *)authzNormalize }, #ifdef HAVE_TLS - /* NOTE: replace "13" with the actual index + /* NOTE: replace "12" with the actual index * of the first TLS-related line */ -#define aux_TLS (bindkey+13) /* beginning of TLS keywords */ +#define aux_TLS (bindkey+12) /* beginning of TLS keywords */ { BER_BVC("starttls="), offsetof(slap_bindconf, sb_tls), 'i', 0, tlskey }, { BER_BVC("tls_cert="), offsetof(slap_bindconf, sb_tls_cert), 's', 1, NULL },