Skip to content
Snippets Groups Projects
Commit f98a1bab authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

TLS initialization fix

parent d4928808
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,13 @@ main(
/* initialize thread package */
ldap_pvt_thread_initialize();
#ifdef HAVE_TLS
if( ldap_pvt_tls_init() || ldap_pvt_tls_init_def_ctx() ) {
fprintf( stderr, "TLS Initialization failed.\n" );
exit( EXIT_FAILURE);
}
#endif
/*
* Create and initialize globals. init_globals() also initializes
* the main replication queue.
......
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