diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-28 12:44:27 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-28 12:44:27 +0100 |
commit | eb70bf3fbc69459043196de96030ada6015ce27f (patch) | |
tree | b30fe23d37368ac5dcd05feab4d4c4c169a43d25 /kike.c | |
parent | d86a68f510924d9afc4eec6970c68597783d245d (diff) | |
download | xK-eb70bf3fbc69459043196de96030ada6015ce27f.tar.gz xK-eb70bf3fbc69459043196de96030ada6015ce27f.tar.xz xK-eb70bf3fbc69459043196de96030ada6015ce27f.zip |
Cleanup
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -4043,16 +4043,7 @@ main (int argc, char *argv[]) print_status (PROGRAM_NAME " " PROGRAM_VERSION " starting"); setup_signal_handlers (); - -#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 + init_openssl (); struct server_context ctx; server_context_init (&ctx); |