mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Remove dead code
This commit is contained in:
parent
0a155934ab
commit
241d6a558e
1 changed files with 1 additions and 3 deletions
|
|
@ -1046,7 +1046,6 @@ int
|
|||
ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
|
||||
{
|
||||
Sockbuf *sb = conn->lconn_sb;
|
||||
/* void *ctx = ld->ld_defconn->lconn_tls_ctx; */
|
||||
char *host;
|
||||
void *ssl;
|
||||
|
||||
|
|
@ -1074,8 +1073,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
|
|||
*/
|
||||
|
||||
ld->ld_errno = ldap_pvt_tls_check_hostname( ssl, host );
|
||||
if (ld->ld_errno != LDAP_SUCCESS)
|
||||
{
|
||||
if (ld->ld_errno != LDAP_SUCCESS) {
|
||||
return ld->ld_errno;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue