// $OpenLDAP$
/*
- * Copyright 2010-2011 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2010-2012 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
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 {