Cleanup
This commit is contained in:
12
zyklonb.c
12
zyklonb.c
@@ -2010,17 +2010,7 @@ main (int argc, char *argv[])
|
||||
|
||||
print_status (PROGRAM_NAME " " PROGRAM_VERSION " starting");
|
||||
setup_signal_handlers ();
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
SSL_library_init ();
|
||||
// XXX: this list is probably not complete
|
||||
atexit (EVP_cleanup);
|
||||
SSL_load_error_strings ();
|
||||
atexit (ERR_free_strings);
|
||||
#else
|
||||
// Cleanup is done automatically via atexit()
|
||||
OPENSSL_init_ssl (0, NULL);
|
||||
#endif
|
||||
init_openssl ();
|
||||
|
||||
struct bot_context ctx;
|
||||
bot_context_init (&ctx);
|
||||
|
||||
Reference in New Issue
Block a user