mirror of
https://github.com/curl/curl.git
synced 2026-07-28 04:53:08 +03:00
LDAPS: list availability depending on SSL's presence
This commit is contained in:
parent
123f80ae54
commit
b1c1b9bb76
3 changed files with 7 additions and 6 deletions
|
|
@ -183,7 +183,7 @@ static const struct Curl_handler * const protocols[] = {
|
|||
|
||||
#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
|
||||
&Curl_handler_ldap,
|
||||
#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
|
||||
#if defined(HAVE_LDAP_SSL) || (defined(USE_OPENLDAP) && defined(USE_SSL))
|
||||
&Curl_handler_ldaps,
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ static const char * const protocols[] = {
|
|||
#endif
|
||||
#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
|
||||
"ldap",
|
||||
#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
|
||||
#if defined(HAVE_LDAP_SSL) || (defined(USE_OPENLDAP) && defined(USE_SSL))
|
||||
"ldaps",
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue