From 17aad5e54f20b9e6de7bfe55dbf4ea7bc9abac17 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 8 Dec 2009 23:50:56 +0000 Subject: [PATCH] More for ITS#6419, fix index offset --- servers/slapd/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }, -- 2.39.5