1CONF_MODULES_FREE(3ossl) OpenSSL CONF_MODULES_FREE(3ossl)
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 The following functions have been deprecated since OpenSSL 1.1.0, and
16 can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
17 version value, see openssl_user_macros(7):
18
19 void CONF_modules_free(void);
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 built-in modules will be unloaded.
33
35 None of the functions return a value.
36
38 config(5), OPENSSL_config(3), CONF_modules_load_file_ex(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-2021 The OpenSSL Project Authors. All Rights Reserved.
46
47 Licensed under the Apache License 2.0 (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
543.0.5 2022-07-05 CONF_MODULES_FREE(3ossl)