Skip to content
Snippets Groups Projects
Commit 8e48a3c3 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4726 call ldap_pvt_tls_init() in init_ctx() to make sure initialization

is done
parent 6078dbef
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment