NCONF_new_ex

Allocate a CONF object associated with a library context.

Synopsis

Declared in <openssl/conf.h>

CONF*
NCONF_new_ex(
    OSSL_LIB_CTX* libctx,
    CONF_METHOD* meth);

Return Value

New CONF, or NULL on allocation failure; free with NCONF_free().

Parameters

NameDescription
libctxLibrary context used for subsequent CONF/module operations, or NULL for the default.
methConfiguration method (typically NCONF_default()), or NULL for the default method.