mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix TLS default for clients
This commit is contained in:
parent
a4f879f9d2
commit
f2a02b90ed
@ -521,6 +521,7 @@ void ldap_int_initialize_global_options( struct ldapoptions *gopts, int *dbglvl
|
||||
#ifdef HAVE_TLS
|
||||
gopts->ldo_tls_connect_cb = NULL;
|
||||
gopts->ldo_tls_connect_arg = NULL;
|
||||
gopts->ldo_tls_require_cert = LDAP_OPT_X_TLS_DEMAND;
|
||||
#endif
|
||||
|
||||
gopts->ldo_valid = LDAP_INITIALIZED;
|
||||
|
Loading…
Reference in New Issue
Block a user