summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fastd.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 93df249..cdb925d 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -54,12 +54,6 @@
#include <sodium/core.h>
#endif
-#ifdef ENABLE_OPENSSL
-#include <openssl/conf.h>
-#include <openssl/evp.h>
-#include <openssl/err.h>
-#endif
-
#ifdef ENABLE_SYSTEMD
#include <sys/un.h>
#endif
@@ -500,12 +494,6 @@ static inline void init_config(int *status_fd) {
exit_error("unable to initialize libsodium");
#endif
-#ifdef ENABLE_OPENSSL
- ERR_load_crypto_strings();
- OpenSSL_add_all_algorithms();
- OPENSSL_config(NULL);
-#endif
-
fastd_config_check();
}
@@ -685,12 +673,6 @@ static inline void cleanup(void) {
free(ctx.protocol_state);
-#ifdef ENABLE_OPENSSL
- CONF_modules_free();
- EVP_cleanup();
- ERR_free_strings();
-#endif
-
fastd_receive_unknown_free();
close_log();