From: Kurt Zeilenga Date: Mon, 25 Jun 2001 21:44:41 +0000 (+0000) Subject: TLS doesn't need ldap_host_connected_to() X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1276 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=803e84fcddc917b8197ad572f568dca10b852f51;p=openldap TLS doesn't need ldap_host_connected_to() --- diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index ef6ec1c87b..79bd49af9f 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -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 */