]> git.sur5r.net Git - openldap/commitdiff
TLS doesn't need ldap_host_connected_to()
authorKurt Zeilenga <kurt@openldap.org>
Mon, 25 Jun 2001 21:44:41 +0000 (21:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 25 Jun 2001 21:44:41 +0000 (21:44 +0000)
libraries/libldap/os-ip.c

index ef6ec1c87b7d28ac567b39d53f7017434106b4c8..79bd49af9fb7d9048a3091cd3e346dfdd80c4cc1 100644 (file)
@@ -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 */