renew SSL context when setting global Options

This commit is contained in:
Ralf Haferkamp 2011-04-01 10:06:05 +02:00
parent 0d5c46d838
commit 36ba454bb6

View file

@ -72,9 +72,7 @@ void TlsOptions::setOption( tls_option opt, void *value ) const {
throw( LDAPException( LDAP_PARAM_ERROR, "error while setting TLS option" ) );
}
}
if ( m_ld ){
this->newCtx();
}
this->newCtx();
}
void TlsOptions::getOption( tls_option opt, void* value ) const {