summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_CTX_free.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_free.3')
-rw-r--r--src/lib/libssl/doc/SSL_CTX_free.353
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
16decrements the reference count of
17.Fa ctx ,
18and removes the
19.Vt SSL_CTX
20object pointed to by
21.Fa ctx
22and frees up the allocated memory if the reference count has reached 0.
23If
24.Fa ctx
25is a
26.Dv NULL
27pointer, no action occurs.
28.Pp
29It also calls the
30.Xr free 3 Ns ing
31procedures for indirectly affected items, if applicable:
32the session cache, the list of ciphers, the list of Client CAs,
33the certificates and keys.
34.Sh WARNINGS
35If a session-remove callback is set
36.Pq Xr SSL_CTX_sess_set_remove_cb 3 ,
37this callback will be called for each session being freed from
38.Fa ctx Ns 's
39session cache.
40This implies that all corresponding sessions from an external session cache are
41removed as well.
42If this is not desired, the user should explicitly unset the callback by
43calling
44.Fn SSL_CTX_sess_set_remove_cb ctx NULL
45prior to calling
46.Fn SSL_CTX_free .
47.Sh RETURN VALUES
48.Fn SSL_CTX_free
49does 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