--- src/ne_openssl.c.orig +++ src/ne_openssl.c @@ -35,6 +35,7 @@ #include #include #include +#include #ifdef NE_HAVE_TS_SSL #include /* for abort() */ @@ -1132,11 +1133,15 @@ static void thread_lock_neon(int mode, i int ne__ssl_init(void) { + OPENSSL_config(NULL); CRYPTO_malloc_init(); SSL_load_error_strings(); SSL_library_init(); + ENGINE_load_builtin_engines(); + ENGINE_register_all_complete(); OpenSSL_add_all_algorithms(); + #ifdef NE_HAVE_TS_SSL /* If some other library has already come along and set up the * thread-safety callbacks, then it must be presumed that the