Initialize libcrypto with option flags and optional settings.

Synopsis

Declared in <openssl/crypto.h>

int
OPENSSL_init_crypto(
    uint64_t opts,
    OPENSSL_INIT_SETTINGS const* settings);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

opts

Bitmask of OPENSSL_INIT_* options (for example OPENSSL_INIT_LOAD_CONFIG).

settings

Optional settings from OPENSSL_INIT_new(), or NULL.

Created with MrDocs