]> git.sur5r.net Git - openldap/commitdiff
Initialize TLS connection callback
authorHoward Chu <hyc@openldap.org>
Tue, 23 Nov 2004 05:09:10 +0000 (05:09 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 23 Nov 2004 05:09:10 +0000 (05:09 +0000)
libraries/libldap/init.c

index 36797fe1cac6a255fb293e7dc27b35deed34639e..0a1f7e48d3bcb3064228fc22ccede06809821719 100644 (file)
@@ -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;
 }