From: Mark Valence Date: Sat, 25 Sep 1999 03:57:25 +0000 (+0000) Subject: Fixed "typos" in TLS code. TLS is ATTR_TLS, not ATTR_BOOL. X-Git-Tag: UCDATA_2_4~374 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b221e4ad4bc1d6a8aee7fec552998d2b9ac0afc4;p=openldap Fixed "typos" in TLS code. TLS is ATTR_TLS, not ATTR_BOOL. ldap_pvt_tls_config() was missing first param. --- diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 69ffdec8ef..805b1f18ed 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -63,7 +63,7 @@ static const struct ol_attribute { {ATTR_BOOL, "REFERRALS", NULL, LDAP_BOOL_REFERRALS}, {ATTR_BOOL, "RESTART", NULL, LDAP_BOOL_RESTART}, {ATTR_BOOL, "DNS", NULL, LDAP_BOOL_DNS}, - {ATTR_BOOL, "TLS", NULL, LDAP_OPT_X_TLS}, + {ATTR_TLS, "TLS", NULL, LDAP_OPT_X_TLS}, {ATTR_TLS, "TLS_CERT", NULL, LDAP_OPT_X_TLS_CERTFILE}, {ATTR_TLS, "TLS_KEY", NULL, LDAP_OPT_X_TLS_KEYFILE}, {ATTR_TLS, "TLS_CACERT", NULL, LDAP_OPT_X_TLS_CACERTFILE}, @@ -294,7 +294,7 @@ static void openldap_ldap_init_w_env(const char *prefix) break; case ATTR_TLS: #ifdef HAVE_TLS - ldap_pvt_tls_config( attrs[i].offset, value ); + ldap_pvt_tls_config( &gopts, attrs[i].offset, value ); #endif break; }