aboutsummaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c
index f9cc1f7d9..d482bff1e 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -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