Load a CONF file into an LHASH of CONF_VALUE (legacy CONF API).

Synopsis

Declared in <openssl/conf.h>

lhash_st_CONF_VALUE*
CONF_load(
    lhash_st_CONF_VALUE* conf,
    char const* file,
    long* eline);

Return Value

The configuration hash (possibly newly allocated), or NULL on error.

Parameters

Name

Description

conf

Existing hash to extend, or NULL to allocate a new one.

file

Path of the configuration file to parse.

eline

Receives the error line number on parse failure, or unchanged on success.

Created with MrDocs