mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
back out last change
This commit is contained in:
parent
b0830a744f
commit
7cfc2d1f37
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user