summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/CONF_modules_free.3
blob: bc20fdab0d4da4b70cabb9f8a495634e5b716e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\"	$OpenBSD: CONF_modules_free.3,v 1.3 2016/11/10 14:34:18 jmc Exp $
.\"
.Dd $Mdocdate: November 10 2016 $
.Dt CONF_MODULES_FREE 3
.Os
.Sh NAME
.Nm CONF_modules_free ,
.Nm CONF_modules_finish ,
.Nm CONF_modules_unload
.Nd OpenSSL configuration cleanup functions
.Sh SYNOPSIS
.In openssl/conf.h
.Ft void
.Fo CONF_modules_free
.Fa void
.Fc
.Ft void
.Fo CONF_modules_finish
.Fa void
.Fc
.Ft void
.Fo CONF_modules_unload
.Fa "int all"
.Fc
.Sh DESCRIPTION
.Fn CONF_modules_free
closes down and frees up all memory allocated by all configuration
modules.
Normally applications will only call this function
at application to tidy up any configuration performed.
.Pp
.Fn CONF_modules_finish
calls the configuration
.Sy finish
handler of each configuration module to free up any configuration
that module may have performed.
.Pp
.Fn CONF_modules_unload
finishes and unloads configuration modules.
If
.Fa all
is set to 0, only modules loaded from DSOs will be unloaded.
If
.Fa all
is 1, all modules, including builtin modules, will be unloaded.
.Sh RETURN VALUES
None of the functions return a value.
.Sh SEE ALSO
.Xr CONF_modules_load_file 3 ,
.Xr OPENSSL_config 3
.Sh HISTORY
.Fn CONF_modules_free ,
.Fn CONF_modules_unload ,
and
.Fn CONF_modules_finish
first appeared in OpenSSL 0.9.7.