mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
Fix LDAP compile error when LDAP is not available.
Fixed a typo in the LDAP configure code and made sure NULL is defined in a test programs that need it.
This commit is contained in:
parent
95446f694b
commit
001a2d9b67
2 changed files with 7 additions and 2 deletions
|
|
@ -242,7 +242,7 @@ static const struct Curl_handler * const protocols[] = {
|
|||
&Curl_handler_ldap,
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_LDAP_SSL) && !defined(CURL_DISABLE_SSL)
|
||||
#if !defined(CURL_DISABLE_LDAP) && defined(HAVE_LDAP_SSL)
|
||||
&Curl_handler_ldaps,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue