From eb70bf3fbc69459043196de96030ada6015ce27f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 28 Dec 2016 12:44:27 +0100
Subject: Cleanup
---
degesch.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
(limited to 'degesch.c')
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);
--
cgit v1.2.3