From: Howard Chu Date: Thu, 22 May 2003 23:25:10 +0000 (+0000) Subject: ldap_pvt_tls_destroy depends on HAVE_TLS X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~72 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=203493bea7bffb40af36ebd8886d25489f551558;p=openldap ldap_pvt_tls_destroy depends on HAVE_TLS These calls belong in an ldap_destroy() library function. --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index daebef8ef5..f73700491f 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -919,7 +919,9 @@ getNextPage: #ifdef HAVE_CYRUS_SASL sasl_done(); #endif +#ifdef HAVE_TLS ldap_pvt_tls_destroy(); +#endif return( rc ); }