mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-13 10:40:04 -04:00
Fix ldap_pvt_tls_start() return value check.
This commit is contained in:
parent
e6aec1724f
commit
8983f7cb8b
1 changed files with 4 additions and 2 deletions
|
|
@ -317,8 +317,10 @@ ldap_int_open_connection(
|
|||
{
|
||||
rc = ldap_pvt_tls_start( ld, conn->lconn_sb,
|
||||
ld->ld_options.ldo_tls_ctx );
|
||||
if (rc != LDAP_SUCCESS)
|
||||
return rc;
|
||||
|
||||
if (rc != LDAP_SUCCESS) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue