NCONF_load_fp

Load configuration name/value pairs from an open FILE.

Synopsis

Declared in <openssl/conf.h>

int
NCONF_load_fp(
    CONF* conf,
    FILE* fp,
    long* eline);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
confDestination configuration object.
fpInput stream positioned at the start of the config text.
elineOptional output for the line number of a parse error, or NULL.