/* lud_properties */
#define LDAP_URL_USE_SSL 0x00000001
-#define LDAP_URL_USE_SSL_UNSPECIFIED 0x00000002
/* lud_protocol */
#define LDAP_PROTO_TCP 0x00
#ifdef HAVE_TLS
tls = (srv->lud_properties & LDAP_URL_USE_SSL);
- if (tls == 0)
- tls = (srv->lud_properties & LDAP_URL_USE_SSL_UNSPECIFIED);
if ( tls != 0 ) {
rc = ldap_pvt_tls_start( sb, ld->ld_options.ldo_tls_ctx );
}
ldap_pvt_hex_unescape(ludp->lud_host);
ludp->lud_protocol = LDAP_PROTO_TCP;
- ludp->lud_properties = LDAP_URL_USE_SSL_UNSPECIFIED;
+ ludp->lud_properties = 0;
ludp->lud_next = *ludlist;
*ludlist = ludp;
}