1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos CONF_modules_free, CONF_modules_finish, CONF_modules_unload - 6 1.1 christos OpenSSL configuration cleanup functions 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos #include <openssl/conf.h> 11 1.1 christos 12 1.1 christos void CONF_modules_finish(void); 13 1.1 christos void CONF_modules_unload(int all); 14 1.1 christos 15 1.1.1.2 christos The following functions have been deprecated since OpenSSL 1.1.0, and can be 16 1.1.1.2 christos hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 17 1.1.1.2 christos see L<openssl_user_macros(7)>: 18 1.1 christos 19 1.1.1.2 christos void CONF_modules_free(void); 20 1.1 christos 21 1.1 christos =head1 DESCRIPTION 22 1.1 christos 23 1.1 christos CONF_modules_free() closes down and frees up all memory allocated by all 24 1.1 christos configuration modules. Normally, in versions of OpenSSL prior to 1.1.0, 25 1.1 christos applications called 26 1.1 christos CONF_modules_free() at exit to tidy up any configuration performed. 27 1.1 christos 28 1.1 christos CONF_modules_finish() calls each configuration modules B<finish> handler 29 1.1 christos to free up any configuration that module may have performed. 30 1.1 christos 31 1.1 christos CONF_modules_unload() finishes and unloads configuration modules. If 32 1.1 christos B<all> is set to B<0> only modules loaded from DSOs will be unloads. If 33 1.1.1.2 christos B<all> is B<1> all modules, including built-in modules will be unloaded. 34 1.1 christos 35 1.1 christos =head1 RETURN VALUES 36 1.1 christos 37 1.1 christos None of the functions return a value. 38 1.1 christos 39 1.1 christos =head1 SEE ALSO 40 1.1 christos 41 1.1 christos L<config(5)>, L<OPENSSL_config(3)>, 42 1.1.1.2 christos L<CONF_modules_load_file_ex(3)> 43 1.1 christos 44 1.1 christos =head1 HISTORY 45 1.1 christos 46 1.1 christos CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it. 47 1.1 christos For more information see L<OPENSSL_init_crypto(3)>. 48 1.1 christos 49 1.1 christos =head1 COPYRIGHT 50 1.1 christos 51 1.1.1.2 christos Copyright 2004-2021 The OpenSSL Project Authors. All Rights Reserved. 52 1.1 christos 53 1.1.1.2 christos Licensed under the Apache License 2.0 (the "License"). You may not use 54 1.1 christos this file except in compliance with the License. You can obtain a copy 55 1.1 christos in the file LICENSE in the source distribution or at 56 1.1 christos L<https://www.openssl.org/source/license.html>. 57 1.1 christos 58 1.1 christos =cut 59