]> git.sur5r.net Git - openldap/commitdiff
ldap_pvt_tls_destroy depends on HAVE_TLS
authorHoward Chu <hyc@openldap.org>
Thu, 22 May 2003 23:25:10 +0000 (23:25 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 22 May 2003 23:25:10 +0000 (23:25 +0000)
These calls belong in an ldap_destroy() library function.

clients/tools/ldapsearch.c

index daebef8ef5bf46828339fe24c3a3ae41e194c4b2..f73700491f3730ed5c82ad4e2d4bd52014029b4b 100644 (file)
@@ -919,7 +919,9 @@ getNextPage:
 #ifdef HAVE_CYRUS_SASL
        sasl_done();
 #endif
+#ifdef HAVE_TLS
        ldap_pvt_tls_destroy();
+#endif
        return( rc );
 }