[#OPENSSL_INIT_set_config_appname]
= OPENSSL&lowbar;INIT&lowbar;set&lowbar;config&lowbar;appname
:mrdocs:

Set the application section name used when OPENSSL&lowbar;init&lowbar;crypto() loads config&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OPENSSL&lowbar;INIT&lowbar;set&lowbar;config&lowbar;appname(
    xref:OPENSSL_INIT_SETTINGS.adoc[OPENSSL&lowbar;INIT&lowbar;SETTINGS]* settings,
    char const* config&lowbar;appname);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *settings*
| Initialization settings object from OPENSSL&lowbar;INIT&lowbar;new()&period;
| *config&lowbar;appname*
| Application name &sol; section passed to CONF&lowbar;modules&lowbar;load&lowbar;file()&period;
|===


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