From: Kurt Zeilenga Date: Sun, 25 Apr 2004 04:46:45 +0000 (+0000) Subject: back out last change X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~434 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7cfc2d1f375e35759044ff320ef17eeb7728c6e0;p=openldap back out last change --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index d80ada1df0..af5327d744 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -196,21 +196,6 @@ ldap_pvt_tls_init_def_ctx( void ) char *certfile = tls_opt_certfile; char *keyfile = tls_opt_keyfile; - static int ctx_initialized = 0; - - if ( ctx_initialized++ ) { -#ifdef NEW_LOGGING - LDAP_LOG ( TRANSPORT, ERR, "ldap_pvt_tls_init_def_ctx: " - "TLS default ctx already initialized.\n", - 0, 0, 0 ); -#else - Debug( LDAP_DEBUG_ANY, - "TLS: default ctx already initialized.\n", - 0, 0, 0); -#endif - return 1; - } - #ifdef HAVE_EBCDIC /* This ASCII/EBCDIC handling is a real pain! */ if ( ciphersuite ) {