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

Import TLS fix from devel

parent a988fc6b
No related branches found
No related tags found
No related merge requests found
/* $OpenLDAP$ */
/*
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
* Copyright (c) 1996 Regents of the University of Michigan.
* All rights reserved.
......@@ -44,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