mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#9952 TLS/OpenSSL: disable use of atexit()
This will only have any effect if libldap is the first caller to initialize OpenSSL, but that should be all that matters when libldap is part of a dynmically loaded module. It prevents the crash in the example cases given.
This commit is contained in:
parent
f0d391f6a9
commit
a5953812f0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user