xref: /freebsd/crypto/openssl/doc/man3/CONF_modules_free.pod (revision e71b70530d95c4f34d8bdbd78d1242df1ba4a945)
1*e71b7053SJung-uk Kim=pod
2*e71b7053SJung-uk Kim
3*e71b7053SJung-uk Kim=head1 NAME
4*e71b7053SJung-uk Kim
5*e71b7053SJung-uk KimCONF_modules_free, CONF_modules_finish, CONF_modules_unload -
6*e71b7053SJung-uk KimOpenSSL configuration cleanup functions
7*e71b7053SJung-uk Kim
8*e71b7053SJung-uk Kim=head1 SYNOPSIS
9*e71b7053SJung-uk Kim
10*e71b7053SJung-uk Kim #include <openssl/conf.h>
11*e71b7053SJung-uk Kim
12*e71b7053SJung-uk Kim void CONF_modules_finish(void);
13*e71b7053SJung-uk Kim void CONF_modules_unload(int all);
14*e71b7053SJung-uk Kim
15*e71b7053SJung-uk KimDeprecated:
16*e71b7053SJung-uk Kim
17*e71b7053SJung-uk Kim #if OPENSSL_API_COMPAT < 0x10100000L
18*e71b7053SJung-uk Kim void CONF_modules_free(void)
19*e71b7053SJung-uk Kim #endif
20*e71b7053SJung-uk Kim
21*e71b7053SJung-uk Kim=head1 DESCRIPTION
22*e71b7053SJung-uk Kim
23*e71b7053SJung-uk KimCONF_modules_free() closes down and frees up all memory allocated by all
24*e71b7053SJung-uk Kimconfiguration modules.  Normally, in versions of OpenSSL prior to 1.1.0,
25*e71b7053SJung-uk Kimapplications called
26*e71b7053SJung-uk KimCONF_modules_free() at exit to tidy up any configuration performed.
27*e71b7053SJung-uk Kim
28*e71b7053SJung-uk KimCONF_modules_finish() calls each configuration modules B<finish> handler
29*e71b7053SJung-uk Kimto free up any configuration that module may have performed.
30*e71b7053SJung-uk Kim
31*e71b7053SJung-uk KimCONF_modules_unload() finishes and unloads configuration modules. If
32*e71b7053SJung-uk KimB<all> is set to B<0> only modules loaded from DSOs will be unloads. If
33*e71b7053SJung-uk KimB<all> is B<1> all modules, including builtin modules will be unloaded.
34*e71b7053SJung-uk Kim
35*e71b7053SJung-uk Kim=head1 RETURN VALUES
36*e71b7053SJung-uk Kim
37*e71b7053SJung-uk KimNone of the functions return a value.
38*e71b7053SJung-uk Kim
39*e71b7053SJung-uk Kim=head1 SEE ALSO
40*e71b7053SJung-uk Kim
41*e71b7053SJung-uk KimL<config(5)>, L<OPENSSL_config(3)>,
42*e71b7053SJung-uk KimL<CONF_modules_load_file(3)>
43*e71b7053SJung-uk Kim
44*e71b7053SJung-uk Kim=head1 HISTORY
45*e71b7053SJung-uk Kim
46*e71b7053SJung-uk KimCONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it.
47*e71b7053SJung-uk KimFor more information see L<OPENSSL_init_crypto(3)>.
48*e71b7053SJung-uk Kim
49*e71b7053SJung-uk Kim=head1 COPYRIGHT
50*e71b7053SJung-uk Kim
51*e71b7053SJung-uk KimCopyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved.
52*e71b7053SJung-uk Kim
53*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
54*e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
55*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
56*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
57*e71b7053SJung-uk Kim
58*e71b7053SJung-uk Kim=cut
59