Added libldap GnuTLS setting random file (ITS#5462)
Added libldap alias dereferencing in C API (ITS#5916)
Fixed libldap deref handling (ITS#5768)
+ Fixed libldap NULL pointer deref (ITS#5934)
Fixed libldap peer cert memory leak (ITS#5849)
Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
Fixed libldap intermediate response behavior (ITS#5896)
ldap_pvt_thread_mutex_unlock( &ld->ld_conn_mutex );
#endif
- if ( lc->lconn_server->lud_exts ) {
+ if ( connect ) {
#ifdef HAVE_TLS
- if ( connect ) {
+ if ( lc->lconn_server->lud_exts ) {
int rc, ext = find_tls_ext( lc->lconn_server );
if ( ext ) {
LDAPConn *savedefconn;
return NULL;
}
}
-
}
#endif
}