summaryrefslogtreecommitdiff
path: root/src/core/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-02-19 11:55:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-02-19 11:55:28 (GMT)
commit588c206289a84bfc939ac27dacba991d9b6d0793 (patch)
tree0de656a445e236de1846e8f40e6635077b9d3f19 /src/core/core.c
parent1898c6ea16d0eee8ecc5ab9ebb26ac91ad7314b4 (diff)
Created client/server certificates on demand for a given identity.
Diffstat (limited to 'src/core/core.c')
-rw-r--r--src/core/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index e265250..9750fc6 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
+#include <openssl/ssl.h>
#include <config.h>
@@ -79,6 +80,9 @@ bool load_all_basic_components(void)
result &= load_main_config_parameters();
+ SSL_load_error_strings();
+ SSL_library_init();
+
result &= ensure_user_has_rsa_keys();
result &= g_generic_config_read(get_main_configuration());