https://bugs.openldap.org/show_bug.cgi?id=10176
--- Comment #7 from Howard Chu hyc@openldap.org --- Apparently there is an option to tell OpenSSL not to use atexit. Can you please test this patch and see if it fixes your issue?
diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index 6847ef33b4..9bd830c196 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -225,7 +225,7 @@ tlso_init( void ) SSL_library_init(); OpenSSL_add_all_digests(); #else - OPENSSL_init_ssl(0, NULL); + OPENSSL_init_ssl(OPENSSL_INIT_NO_ATEXIT, NULL); #endif
/* FIXME: mod_ssl does this */