mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix ldap_pvt_tls_start() return value check.
This commit is contained in:
parent
e6aec1724f
commit
8983f7cb8b
@ -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 New Issue
Block a user