TLS ctx is already cleaned up

This commit is contained in:
Howard Chu 2006-08-29 01:34:55 +00:00
parent cf47d33459
commit f4da18e7e4

View 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;