Add support for OpenSSL 1.1.0
This commit is contained in:
@@ -14009,10 +14009,15 @@ main (int argc, char *argv[])
|
||||
app_context_init (&ctx);
|
||||
g_ctx = &ctx;
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
SSL_library_init ();
|
||||
atexit (EVP_cleanup);
|
||||
SSL_load_error_strings ();
|
||||
atexit (ERR_free_strings);
|
||||
#else
|
||||
// Cleanup is done automatically via atexit()
|
||||
OPENSSL_init_ssl (0, NULL);
|
||||
#endif
|
||||
|
||||
// Bootstrap configuration, so that we can access schema items at all
|
||||
register_config_modules (&ctx);
|
||||
|
||||
Reference in New Issue
Block a user