]> git.sur5r.net Git - openldap/commitdiff
TLS ctx is already cleaned up
authorHoward Chu <hyc@openldap.org>
Tue, 29 Aug 2006 01:34:55 +0000 (01:34 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Aug 2006 01:34:55 +0000 (01:34 +0000)
servers/slapd/config.c

index 39692b4ca230c357dbab6beaa80b1ffd71d8d5cc..e467df82e37743384ca740418f33cf59186de50d 100644 (file)
@@ -1288,10 +1288,12 @@ void bindconf_free( slap_bindconf *bc ) {
                BER_BVZERO( &bc->sb_authzId );
        }
 #ifdef HAVE_TLS
+#if 0
        if ( bc->sb_tls_ctx ) {
                SSL_CTX_free( bc->sb_tls_ctx );
                bc->sb_tls_ctx = NULL;
        }
+#endif
        if ( bc->sb_tls_cert ) {
                ch_free( bc->sb_tls_cert );
                bc->sb_tls_cert = NULL;