5 CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
6 OpenSSL configuration cleanup functions
10 #include <openssl/conf.h>
12 void CONF_modules_finish(void);
13 void CONF_modules_unload(int all);
17 #if OPENSSL_API_COMPAT < 0x10100000L
18 void CONF_modules_free(void)
23 CONF_modules_free() closes down and frees up all memory allocated by all
24 configuration modules.
26 CONF_modules_finish() calls each configuration modules B<finish> handler
27 to free up any configuration that module may have performed.
29 CONF_modules_unload() finishes and unloads configuration modules. If
30 B<all> is set to B<0> only modules loaded from DSOs will be unloads. If
31 B<all> is B<1> all modules, including builtin modules will be unloaded.
35 Normally in versions of OpenSSL prior to 1.1.0 applications will only call
36 CONF_modules_free() at application exit to tidy up any configuration performed.
37 From 1.1.0 CONF_modules_free() is deprecated and no explicit CONF cleanup is
38 required at all. For more information see L<OPENSSL_init_crypto(3)>.
42 None of the functions return a value.
46 L<conf(5)>, L<OPENSSL_config(3)>,
47 L<CONF_modules_load_file(3)>
51 CONF_modules_free() was deprecated in OpenSSL 1.1.0.
55 Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
57 Licensed under the OpenSSL license (the "License"). You may not use
58 this file except in compliance with the License. You can obtain a copy
59 in the file LICENSE in the source distribution or at
60 L<https://www.openssl.org/source/license.html>.