1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-07 13:26:33 +00:00

Renewed port to OpenBSD

This commit is contained in:
Gerhard Rieger 2023-10-02 19:43:13 +02:00
parent 5034b941bf
commit 8641344c73
8 changed files with 53 additions and 24 deletions

View file

@ -1025,7 +1025,11 @@ int
#if defined(HAVE_OPENSSL_INIT_SSL) && defined(HAVE_OPENSSL_INIT_new)
{
uint64_t opts = 0;
#if defined(OPENSSL_INIT_SETTINGS)
OPENSSL_INIT_SETTINGS *settings;
#else
void *settings;
#endif
settings = OPENSSL_INIT_new();
#ifdef OPENSSL_INIT_NO_ATEXIT
opts |= OPENSSL_INIT_NO_ATEXIT;