Skip to content

Commit

Permalink
main: remove call to openssl init (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored May 16, 2024
1 parent 034cc38 commit 25b1e40
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#ifdef HAVE_SIGNAL
#include <signal.h>
#endif
#include <openssl/ssl.h>
#include <re_types.h>
#include "main.h"

Expand All @@ -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;
}

0 comments on commit 25b1e40

Please sign in to comment.