summaryrefslogtreecommitdiff
path: root/nslcd/myldap.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-06-17 21:35:08 +0000
committerArthur de Jong <arthur@arthurdejong.org>2008-06-17 21:35:08 +0000
commit4da92e26078cf33e133ff1654c8f878693b639ef (patch)
tree4d68335eeee0f897ae93406b71cb2e3bf7b5503a /nslcd/myldap.c
parent91a2dd7d6f6488bf77d1a584b09626ff3ab2ff88 (diff)
replace https:// by ldaps:// (stupid typo)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@770 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.c')
-rw-r--r--nslcd/myldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index 6a05b53..cfd24fd 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -495,7 +495,7 @@ static int do_set_options(MYLDAP_SESSION *session)
#ifdef LDAP_OPT_X_TLS
/* if SSL is desired, then enable it */
if ( (nslcd_cfg->ldc_ssl_on==SSL_LDAPS) ||
- (strncasecmp(nslcd_cfg->ldc_uris[session->current_uri].uri,"https://",8)==0) )
+ (strncasecmp(nslcd_cfg->ldc_uris[session->current_uri].uri,"ldaps://",8)==0) )
{
/* use tls */
tls=LDAP_OPT_X_TLS_HARD;