2004-03-02 21:31:32 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2006-12-22 05:13:27 +08:00
|
|
|
CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
|
2004-03-02 21:31:32 +08:00
|
|
|
OpenSSL configuration cleanup functions
|
|
|
|
|
|
|
|
=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
|
|
|
|
2016-04-05 00:00:04 +08:00
|
|
|
Deprecated:
|
|
|
|
|
|
|
|
#if OPENSSL_API_COMPAT < 0x10100000L
|
2016-04-06 18:13:25 +08:00
|
|
|
void CONF_modules_free(void)
|
2016-04-05 00:00:04 +08:00
|
|
|
#endif
|
|
|
|
|
2004-03-02 21:31:32 +08:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
CONF_modules_free() closes down and frees up all memory allocated by all
|
|
|
|
configuration modules.
|
|
|
|
|
|
|
|
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
|
|
|
|
B<all> is B<1> all modules, including builtin modules will be unloaded.
|
|
|
|
|
|
|
|
=head1 NOTES
|
|
|
|
|
2016-04-05 00:00:04 +08:00
|
|
|
Normally in versions of OpenSSL prior to 1.1.0 applications will only call
|
2016-04-06 18:13:25 +08:00
|
|
|
CONF_modules_free() at application exit to tidy up any configuration performed.
|
|
|
|
From 1.1.0 CONF_modules_free() is deprecated and no explicit CONF cleanup is
|
|
|
|
required at all. For more information see L<OPENSSL_init_crypto(3)>.
|
2004-03-02 21:31:32 +08:00
|
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
|
|
|
None of the functions return a value.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2015-08-18 03:21:33 +08:00
|
|
|
L<conf(5)>, L<OPENSSL_config(3)>,
|
|
|
|
L<CONF_modules_load_file(3)>
|
2004-03-02 21:31:32 +08:00
|
|
|
|
2016-04-05 00:00:04 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
CONF_modules_free() was deprecated in OpenSSL 1.1.0.
|
|
|
|
|
2004-03-02 21:31:32 +08:00
|
|
|
=cut
|