[#NCONF_new_ex]
= NCONF&lowbar;new&lowbar;ex
:mrdocs:

Allocate a CONF object associated with a library context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CONF.adoc[CONF]*
NCONF&lowbar;new&lowbar;ex(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    xref:CONF_METHOD.adoc[CONF&lowbar;METHOD]* meth);
----

== Return Value

New CONF, or NULL on allocation failure&semi; free with NCONF&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context used for subsequent CONF&sol;module operations, or NULL for the default&period;
| *meth*
| Configuration method (typically NCONF&lowbar;default()), or NULL for the default method&period;
|===


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