libressl-CONF_modules_free3
Openssl configuration cleanup functions
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/conf.h>
void
CONF_modules_free(void);
void
CONF_modules_finish(void);
void
CONF_modules_unload(int all);
Overview
CONF_modules_free() closes down and frees up all memory allocated by all configuration modules. Normally applications will only call this function at application exit to tidy up any configuration performed.
CONF_modules_finish() calls the configuration finish handler of each configuration module to free up any configuration that module may have performed.
CONF_modules_unload() finishes and unloads configuration modules. If all is set to 1, the builtin modules will be unloaded as well.