From 2590e26bc7b952e0711eaad40625bd382699fb80 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 23 Nov 2004 05:09:10 +0000 Subject: [PATCH] Initialize TLS connection callback --- libraries/libldap/init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 36797fe1ca..0a1f7e48d3 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -464,6 +464,11 @@ void ldap_int_initialize_global_options( struct ldapoptions *gopts, int *dbglvl SASL_SEC_NOPLAINTEXT | SASL_SEC_NOANONYMOUS; #endif +#ifdef HAVE_TLS + gopts->ldo_tls_connect_cb = NULL; + gopts->ldo_tls_connect_arg = NULL; +#endif + gopts->ldo_valid = LDAP_INITIALIZED; return; } -- 2.39.5