From 203493bea7bffb40af36ebd8886d25489f551558 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 22 May 2003 23:25:10 +0000 Subject: [PATCH] ldap_pvt_tls_destroy depends on HAVE_TLS These calls belong in an ldap_destroy() library function. --- clients/tools/ldapsearch.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.39.5