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