From: Howard Chu Date: Tue, 23 Nov 2004 05:09:10 +0000 (+0000) Subject: Initialize TLS connection callback X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~247 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2590e26bc7b952e0711eaad40625bd382699fb80;p=openldap Initialize TLS connection callback --- 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; }