]> git.sur5r.net Git - openldap/commitdiff
Remove redundant call of SSL_set_info_callback, to allow users
authorHoward Chu <hyc@openldap.org>
Wed, 29 Aug 2001 20:28:08 +0000 (20:28 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 29 Aug 2001 20:28:08 +0000 (20:28 +0000)
to override it in the SSL_CTX.

libraries/libldap/tls.c

index 2e067d9a326fc70902b089693cfc138306489938..b4d580f923c008197adafa6aa6e87c3e6ab21cf4 100644 (file)
@@ -259,10 +259,6 @@ alloc_handle( void *ctx_arg )
                Debug( LDAP_DEBUG_ANY,"TLS: can't create ssl handle.\n",0,0,0);
                return NULL;
        }
-
-       if ( tls_opt_trace ) {
-               SSL_set_info_callback( ssl, tls_info_cb );
-       }
        return ssl;
 }