1CONF_MODULES_FREE(3) OpenSSL CONF_MODULES_FREE(3)
2
3
4
6 CONF_modules_free, CONF_modules_finish, CONF_modules_unload - OpenSSL
7 configuration cleanup functions
8
10 #include <openssl/conf.h>
11
12 void CONF_modules_finish(void);
13 void CONF_modules_unload(int all);
14
15 Deprecated:
16
17 #if OPENSSL_API_COMPAT < 0x10100000L
18 void CONF_modules_free(void)
19 #endif
20
22 CONF_modules_free() closes down and frees up all memory allocated by
23 all configuration modules. Normally, in versions of OpenSSL prior to
24 1.1.0, applications called CONF_modules_free() at exit to tidy up any
25 configuration performed.
26
27 CONF_modules_finish() calls each configuration modules finish handler
28 to free up any configuration that module may have performed.
29
30 CONF_modules_unload() finishes and unloads configuration modules. If
31 all is set to 0 only modules loaded from DSOs will be unloads. If all
32 is 1 all modules, including builtin modules will be unloaded.
33
35 None of the functions return a value.
36
38 config(5), OPENSSL_config(3), CONF_modules_load_file(3)
39
41 CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it.
42 For more information see OPENSSL_init_crypto(3).
43
45 Copyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved.
46
47 Licensed under the OpenSSL license (the "License"). You may not use
48 this file except in compliance with the License. You can obtain a copy
49 in the file LICENSE in the source distribution or at
50 <https://www.openssl.org/source/license.html>.
51
52
53
541.1.1l 2021-09-15 CONF_MODULES_FREE(3)