aboutsummaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/version.c b/lib/version.c
index 6144f3268..f9cc1f7d9 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -170,12 +170,12 @@ static const char * const protocols[] = {
#if defined(USE_SSL) && !defined(CURL_DISABLE_IMAP)
"imaps",
#endif
-#ifndef CURL_DISABLE_LDAP
+#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
"ldap",
-#endif
-#if defined(HAVE_LDAP_SSL) && !defined(CURL_DISABLE_LDAP)
+#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
"ldaps",
#endif
+#endif
#ifndef CURL_DISABLE_POP3
"pop3",
#endif