logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CONF_modules_free, CONF_modules_finish, CONF_modules_unload - OpenSSL configuration cleanup functions

Description

CONF_modules_free() closes down and frees up all memory allocated by all configuration modules.
       Normally, in versions of OpenSSL prior to 1.1.0, applications called CONF_modules_free() at exit to tidy
       up any configuration performed.

       CONF_modules_finish() calls each configuration modules finish handler to free up any configuration that
       module may have performed.

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

History

CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it.  For more information see
       OPENSSL_init_crypto(3).

Name

       CONF_modules_free, CONF_modules_finish, CONF_modules_unload - OpenSSL configuration cleanup functions

Return Values

       None of the functions return a value.

See Also

config(5), OPENSSL_config(3), CONF_modules_load_file_ex(3)

Synopsis

        #include <openssl/conf.h>

        void CONF_modules_finish(void);
        void CONF_modules_unload(int all);

       The following functions have been deprecated since OpenSSL 1.1.0, and can be hidden entirely by defining
       OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7):

        void CONF_modules_free(void);

See Also