[#OSSL_LIB_CTX_load_config]
= OSSL&lowbar;LIB&lowbar;CTX&lowbar;load&lowbar;config
:mrdocs:

Load providers and configuration directives from `config&lowbar;file` into `ctx&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;LIB&lowbar;CTX&lowbar;load&lowbar;config(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* ctx,
    char const* config&lowbar;file);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Library context to configure&period;
| *config&lowbar;file*
| Path to an OpenSSL configuration file&period;
|===


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