diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_free.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_CTX_free.3 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_free.3 b/src/lib/libssl/doc/SSL_CTX_free.3 deleted file mode 100644 index 84f5eb57ee..0000000000 --- a/src/lib/libssl/doc/SSL_CTX_free.3 +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | .\" | ||
2 | .\" $OpenBSD: SSL_CTX_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ | ||
3 | .\" | ||
4 | .Dd $Mdocdate: December 30 2015 $ | ||
5 | .Dt SSL_CTX_FREE 3 | ||
6 | .Os | ||
7 | .Sh NAME | ||
8 | .Nm SSL_CTX_free | ||
9 | .Nd free an allocated SSL_CTX object | ||
10 | .Sh SYNOPSIS | ||
11 | .In openssl/ssl.h | ||
12 | .Ft void | ||
13 | .Fn SSL_CTX_free "SSL_CTX *ctx" | ||
14 | .Sh DESCRIPTION | ||
15 | .Fn SSL_CTX_free | ||
16 | decrements the reference count of | ||
17 | .Fa ctx , | ||
18 | and removes the | ||
19 | .Vt SSL_CTX | ||
20 | object pointed to by | ||
21 | .Fa ctx | ||
22 | and frees up the allocated memory if the reference count has reached 0. | ||
23 | If | ||
24 | .Fa ctx | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
28 | .Pp | ||
29 | It also calls the | ||
30 | .Xr free 3 Ns ing | ||
31 | procedures for indirectly affected items, if applicable: | ||
32 | the session cache, the list of ciphers, the list of Client CAs, | ||
33 | the certificates and keys. | ||
34 | .Sh WARNINGS | ||
35 | If a session-remove callback is set | ||
36 | .Pq Xr SSL_CTX_sess_set_remove_cb 3 , | ||
37 | this callback will be called for each session being freed from | ||
38 | .Fa ctx Ns 's | ||
39 | session cache. | ||
40 | This implies that all corresponding sessions from an external session cache are | ||
41 | removed as well. | ||
42 | If this is not desired, the user should explicitly unset the callback by | ||
43 | calling | ||
44 | .Fn SSL_CTX_sess_set_remove_cb ctx NULL | ||
45 | prior to calling | ||
46 | .Fn SSL_CTX_free . | ||
47 | .Sh RETURN VALUES | ||
48 | .Fn SSL_CTX_free | ||
49 | does not provide diagnostic information. | ||
50 | .Sh SEE ALSO | ||
51 | .Xr ssl 3 , | ||
52 | .Xr SSL_CTX_new 3 , | ||
53 | .Xr SSL_CTX_sess_set_get_cb 3 | ||