From 7b9173d0bba4fde4e52ccd2f6071099d2d3f1b28 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 12 Aug 2005 10:51:39 +0000 Subject: [PATCH] should compile also when #undef HAVE_TLS --- servers/slapd/back-ldap/bind.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index ad52b49715..93e9c450c4 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -529,6 +529,7 @@ ldap_back_getconn( Operation *op, SlapReply *rs, ldap_back_send_t sendok ) } } +#ifdef HAVE_TLS /* if start TLS failed but it was not mandatory, * check if the non-TLS connection was already * in cache; in case, destroy the newly created @@ -553,6 +554,7 @@ ldap_back_getconn( Operation *op, SlapReply *rs, ldap_back_send_t sendok ) goto done; } } +#endif /* HAVE_TLS */ lc->lc_bound = 0; -- 2.39.5