added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we know its fully working, and available with all LDAP SDKs.

Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check.
This commit is contained in:
Gunter Knauf
2007-08-16 14:08:47 +00:00
parent 7f7e42732d
commit ccba0d10b6
3 changed files with 97 additions and 24 deletions

View File

@@ -120,6 +120,9 @@ static const char * const protocols[] = {
#endif
#ifndef CURL_DISABLE_LDAP
"ldap",
#ifdef HAVE_LDAP_SSL
"ldaps",
#endif
#endif
#ifndef CURL_DISABLE_HTTP
"http",