From 25b1e40d812949cd4130f488003b24bd1e543581 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Thu, 16 May 2024 11:07:18 +0200 Subject: [PATCH] main: remove call to openssl init (#1120) --- src/main/openssl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/openssl.c b/src/main/openssl.c index 1fbaccfc4..71f79aac9 100644 --- a/src/main/openssl.c +++ b/src/main/openssl.c @@ -6,7 +6,6 @@ #ifdef HAVE_SIGNAL #include #endif -#include #include #include "main.h" @@ -22,15 +21,9 @@ static void sigpipe_handler(int x) int openssl_init(void) { - int err; - #ifdef SIGPIPE (void)signal(SIGPIPE, sigpipe_handler); #endif - err = OPENSSL_init_ssl(OPENSSL_INIT_SSL_DEFAULT, NULL); - if (!err) - return ENOSYS; - return 0; }