[#OPENSSL_init_ssl] = OPENSSL_init_ssl :mrdocs: Explicitly initialise libssl and libcrypto with the given options and settings. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OPENSSL_init_ssl( uint64_t opts, xref:OPENSSL_INIT_SETTINGS.adoc[OPENSSL_INIT_SETTINGS] const* settings); ---- == Description Automatic init usually makes this unnecessary; call it before other OpenSSL APIs when non‐default initialisation is required. == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *opts* | Bitwise OR of OPENSSL_INIT_* flags (libcrypto options plus OPENSSL_INIT_LOAD_SSL_STRINGS / OPENSSL_INIT_NO_LOAD_SSL_STRINGS). | *settings* | Optional init settings (see OPENSSL_init_crypto), or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#