summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-12-28 12:44:27 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-12-28 12:44:27 +0100
commiteb70bf3fbc69459043196de96030ada6015ce27f (patch)
treeb30fe23d37368ac5dcd05feab4d4c4c169a43d25 /degesch.c
parentd86a68f510924d9afc4eec6970c68597783d245d (diff)
downloadxK-eb70bf3fbc69459043196de96030ada6015ce27f.tar.gz
xK-eb70bf3fbc69459043196de96030ada6015ce27f.tar.xz
xK-eb70bf3fbc69459043196de96030ada6015ce27f.zip
Cleanup
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/degesch.c b/degesch.c
index 3263ae0..6156981 100644
--- a/degesch.c
+++ b/degesch.c
@@ -14009,15 +14009,7 @@ 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
+ init_openssl ();
// Bootstrap configuration, so that we can access schema items at all
register_config_modules (&ctx);