Explicitly initialise libssl and libcrypto with the given options and settings.
Synopsis
Declared in <openssl/ssl.h>
int
OPENSSL_init_ssl(
uint64_t opts,
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
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. |
Created with MrDocs