should compile also when #undef HAVE_TLS

This commit is contained in:
Pierangelo Masarati 2005-08-12 10:51:39 +00:00
parent a23466f64a
commit 7b9173d0bb

View File

@ -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;