libressl-OPENSSL_init_ssl3
Initialise the crypto and ssl libraries
Usage
SSL Library (libssl, -lssl) libcrypto
#include <openssl/ssl.h>
int
OPENSSL_init_ssl(uint64_t options, const void *dummy);
Overview
This function is deprecated. It is never useful for any application program to call it explicitly. The library automatically calls it internally with an options argument of 0 whenever needed. It is safest to assume that any function may do so.
To enable or disable the standard configuration file, instead use OPENSSL_config(3) or OPENSSL_no_config(3), respectively. To load a non-standard configuration file, refer to CONF_modules_load_file(3).
OPENSSL_init_ssl() calls OPENSSL_init_crypto(3), SSL_load_error_strings(3), and SSL_library_init(3).
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.
Return values
OPENSSL_init_ssl() is intended to return 1 on success or 0 on error.