mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
Fixed "typos" in TLS code. TLS is ATTR_TLS, not ATTR_BOOL.
ldap_pvt_tls_config() was missing first param.
This commit is contained in:
parent
9e7243015c
commit
b221e4ad4b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue