Skip to content
Snippets Groups Projects
Commit 33d4c153 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Revert "ITS#8427 Only do StartTLS if configured"

This reverts commit 653922c5.
parent 4ca56bd3
No related branches found
No related tags found
No related merge requests found
......@@ -436,7 +436,10 @@ retry_lock:;
bindconf_tls_set( sb, msc->msc_ld );
if ( !is_ldaps ) {
if ( META_BACK_TGT_USE_TLS( mt )
if ( sb == &mt->mt_idassert.si_bc && sb->sb_tls_ctx ) {
do_start_tls = 1;
} else if ( META_BACK_TGT_USE_TLS( mt )
|| ( op->o_conn->c_is_tls && META_BACK_TGT_PROPAGATE_TLS( mt ) ) )
{
do_start_tls = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment