Manual Page Search Parameters

OPENSSL_INIT_SSL(3) Library Functions Manual OPENSSL_INIT_SSL(3)

initialise the crypto and ssl libraries

#include <openssl/ssl.h>
OPENSSL_init_ssl(uint64_t options, const void *dummy);

OPENSSL_init_ssl() calls OPENSSL_init_crypto(3) and also allocates various resources used internally by the ssl library.
Calling it is never useful because it is automatically called internally when needed.
The options argument is passed on to OPENSSL_init_crypto(3) and the dummy argument is ignored.
If this function is called more than once, none of the calls except the first one have any effect.

OPENSSL_init_ssl() is intended to return 1 on success or 0 on error.

CONF_modules_load_file(3), OPENSSL_init_crypto(3)

OPENSSL_init_ssl() first appeared in OpenSSL 1.1.0 and has been available since OpenBSD 6.3.

OPENSSL_init_ssl() silently ignores even more configuration failures than OPENSSL_init_crypto(3).
March 24, 2018 OpenBSD-current