From d62b981b494b0e61621938d7c85e6671d5854511 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Wed, 15 May 2024 11:54:21 +0200 Subject: [PATCH] main: remove call to openssl init --- 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; }