OpenBSD manual page server

Manual Page Search Parameters

CONF_MODULES_FREE(3) Library Functions Manual CONF_MODULES_FREE(3)

CONF_modules_free, CONF_modules_finish, CONF_modules_unloadOpenSSL configuration cleanup functions

#include <openssl/conf.h>

void
CONF_modules_free(void);

void
CONF_modules_finish(void);

void
CONF_modules_unload(int all);

() 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.

() calls the configuration handler of each configuration module to free up any configuration that module may have performed.

() finishes and unloads configuration modules. If all is set to 0, only modules loaded from DSOs will be unloaded. If all is 1, all modules, including builtin modules, will be unloaded.

CONF_modules_load_file(3), OPENSSL_config(3)

CONF_modules_free(), CONF_modules_finish(), and CONF_modules_unload() first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2.

March 22, 2018 OpenBSD-7.2