mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-31 19:09:42 -05:00
TLS initialization fix
This commit is contained in:
parent
d492880870
commit
f98a1bab88
1 changed files with 7 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue