Skip to content

Commit

Permalink
main: remove call to openssl init
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed May 15, 2024
1 parent c1e09de commit d62b981
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 d62b981

Please sign in to comment.