aboutsummaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-03-07 17:45:33 -0800
committerDan Fandrich <dan@coneharvesters.com>2011-03-07 17:45:33 -0800
commit29f0898525bf48292606f098bee33ce8f1f58781 (patch)
treea50787b8720e53d8e745805535c31a5f277d1644 /lib/version.c
parent0e74e1d8d83d50ba1d411903ae2dbba13a71bdeb (diff)
Fixed libcurl to honour the --disable-ldaps configure option
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/version.c b/lib/version.c
index 52989cdc6..97dd16395 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -180,8 +180,9 @@ static const char * const protocols[] = {
#endif
#ifndef CURL_DISABLE_LDAP
"ldap",
-#if (defined(USE_OPENLDAP) && defined(USE_SSL)) || \
- (!defined(USE_OPENLDAP) && defined(HAVE_LDAP_SSL))
+#if !defined(CURL_DISABLE_LDAPS) && \
+ ((defined(USE_OPENLDAP) && defined(USE_SSL)) || \
+ (!defined(USE_OPENLDAP) && defined(HAVE_LDAP_SSL)))
"ldaps",
#endif
#endif