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

Synopsis

Declared in <openssl/conf.h>

lhash_st_CONF_VALUE*
CONF_load_fp(
    lhash_st_CONF_VALUE* conf,
    FILE* fp,
    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.

fp

Input stream positioned at the start of the configuration text.

eline

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

Created with MrDocs