mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 08:12:54 -05:00
TLS doesn't need ldap_host_connected_to()
This commit is contained in:
parent
c731288dc6
commit
803e84fcdd
1 changed files with 3 additions and 3 deletions
|
|
@ -423,8 +423,8 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
|
|||
return rc;
|
||||
}
|
||||
|
||||
#if defined( LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND ) \
|
||||
|| defined( HAVE_TLS ) || defined( HAVE_CYRUS_SASL )
|
||||
#if defined( LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND ) || \
|
||||
defined( HAVE_CYRUS_SASL )
|
||||
char *
|
||||
ldap_host_connected_to( Sockbuf *sb )
|
||||
{
|
||||
|
|
@ -510,7 +510,7 @@ ldap_host_connected_to( Sockbuf *sb )
|
|||
LDAP_FREE( ha_buf );
|
||||
return host;
|
||||
}
|
||||
#endif /* LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND || HAVE_TLS */
|
||||
#endif
|
||||
|
||||
|
||||
/* for UNIX */
|
||||
|
|
|
|||
Loading…
Reference in a new issue