Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

CONF_modules_free (3openssl)

Name

CONF_modules_free - OpenSSL configuration cleanup functions

Synopsis

#include <openssl/conf.h>

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

Description

OpenSSL                                            CONF_modules_free(3openssl)



NAME
        CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
        OpenSSL configuration cleanup functions

SYNOPSIS
        #include <openssl/conf.h>

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

DESCRIPTION
       CONF_modules_free() closes down and frees up all memory allocated by
       all configuration modules.

       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 builtin modules will be unloaded.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | library/security/openssl |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

NOTES
       Normally applications will only call CONF_modules_free() at application
       to tidy up any configuration performed.

       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.openssl.org/source/openssl-1.0.2ze.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.openssl.org/.

RETURN VALUE
       None of the functions return a value.

SEE ALSO
       conf(5), OPENSSL_config(3), CONF_modules_load_file(3)

HISTORY
       CONF_modules_free(), CONF_modules_unload(), and CONF_modules_finish()
       first appeared in OpenSSL 0.9.7.




1.0.2ze                           2022-05-03
                                                   CONF_modules_free(3openssl)