mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 22:34:08 -05:00
ITS#4726 call ldap_pvt_tls_init() in init_ctx() to make sure initialization
is done
This commit is contained in:
parent
6078dbef3c
commit
8e48a3c317
1 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,8 @@ ldap_int_tls_init_ctx( struct ldapoptions *lo, int is_server )
|
|||
if ( lo->ldo_tls_ctx )
|
||||
return 0;
|
||||
|
||||
ldap_pvt_tls_init();
|
||||
|
||||
if ( is_server && !certfile && !keyfile && !cacertfile && !cacertdir ) {
|
||||
/* minimum configuration not provided */
|
||||
return LDAP_NOT_SUPPORTED;
|
||||
|
|
|
|||
Loading…
Reference in a new issue