mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
parent
1cfe66906a
commit
12d2382b53
1 changed files with 5 additions and 0 deletions
|
|
@ -501,6 +501,11 @@ ldap_int_open_connection(
|
|||
if( proto == LDAP_PROTO_UDP ) return 0;
|
||||
#endif
|
||||
|
||||
if ( async && rc == -2) {
|
||||
/* Need to let the connect complete asynchronously before we continue */
|
||||
return -2;
|
||||
}
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
if ((rc == 0 || rc == -2) && ( ld->ld_options.ldo_tls_mode == LDAP_OPT_X_TLS_HARD ||
|
||||
strcmp( srv->lud_scheme, "ldaps" ) == 0 ))
|
||||
|
|
|
|||
Loading…
Reference in a new issue