[#OPENSSL_init_crypto]
= OPENSSL&lowbar;init&lowbar;crypto
:mrdocs:

Initialize libcrypto with option flags and optional settings&period;

== Synopsis

Declared in `&lt;openssl&sol;crypto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OPENSSL&lowbar;init&lowbar;crypto(
    uint64&lowbar;t opts,
    xref:OPENSSL_INIT_SETTINGS.adoc[OPENSSL&lowbar;INIT&lowbar;SETTINGS] const* settings);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *opts*
| Bitmask of OPENSSL&lowbar;INIT&lowbar;&ast; options (for example OPENSSL&lowbar;INIT&lowbar;LOAD&lowbar;CONFIG)&period;
| *settings*
| Optional settings from OPENSSL&lowbar;INIT&lowbar;new(), or NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
