2004-03-02 21:31:32 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2016-05-20 20:11:46 +08:00
|
|
|
CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
|
|
|
|
OpenSSL configuration cleanup functions
|
2004-03-02 21:31:32 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/conf.h>
|
|
|
|
|
|
|
|
void CONF_modules_finish(void);
|
2006-12-22 05:13:27 +08:00
|
|
|
void CONF_modules_unload(int all);
|
2004-03-02 21:31:32 +08:00
|
|
|
|
2021-12-02 19:33:49 +08:00
|
|
|
The following functions have been deprecated since OpenSSL 1.1.0, and can be
|
|
|
|
hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
|
|
|
|
see L<openssl_user_macros(7)>:
|
2016-04-05 00:00:04 +08:00
|
|
|
|
2020-07-15 16:26:35 +08:00
|
|
|
void CONF_modules_free(void);
|
2016-04-05 00:00:04 +08:00
|
|
|
|
2004-03-02 21:31:32 +08:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
CONF_modules_free() closes down and frees up all memory allocated by all
|
2017-09-02 21:35:50 +08:00
|
|
|
configuration modules. Normally, in versions of OpenSSL prior to 1.1.0,
|
|
|
|
applications called
|
|
|
|
CONF_modules_free() at exit to tidy up any configuration performed.
|
2004-03-02 21:31:32 +08:00
|
|
|
|
|
|
|
CONF_modules_finish() calls each configuration modules B<finish> handler
|
|
|
|
to free up any configuration that module may have performed.
|
|
|
|
|
|
|
|
CONF_modules_unload() finishes and unloads configuration modules. If
|
|
|
|
B<all> is set to B<0> only modules loaded from DSOs will be unloads. If
|
2019-09-28 01:17:09 +08:00
|
|
|
B<all> is B<1> all modules, including built-in modules will be unloaded.
|
2004-03-02 21:31:32 +08:00
|
|
|
|
2017-12-25 17:50:39 +08:00
|
|
|
=head1 RETURN VALUES
|
2004-03-02 21:31:32 +08:00
|
|
|
|
|
|
|
None of the functions return a value.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2016-11-11 16:33:09 +08:00
|
|
|
L<config(5)>, L<OPENSSL_config(3)>,
|
2020-09-24 17:42:23 +08:00
|
|
|
L<CONF_modules_load_file_ex(3)>
|
2004-03-02 21:31:32 +08:00
|
|
|
|
2016-04-05 00:00:04 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
2017-09-02 21:35:50 +08:00
|
|
|
CONF_modules_free() was deprecated in OpenSSL 1.1.0; do not use it.
|
|
|
|
For more information see L<OPENSSL_init_crypto(3)>.
|
2016-04-05 00:00:04 +08:00
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2020-04-23 20:55:52 +08:00
|
|
|
Copyright 2004-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:44 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|