SSL_CTX_free.pod revision 76866
1251886Speter=pod
2251886Speter
3251886Speter=head1 NAME
4251886Speter
5251886SpeterSSL_CTX_free - free an allocated SSL_CTX object
6251886Speter
7251886Speter=head1 SYNOPSIS
8251886Speter
9251886Speter #include <openssl/ssl.h>
10251886Speter
11251886Speter void SSL_CTX_free(SSL_CTX *ctx);
12251886Speter
13251886Speter=head1 DESCRIPTION
14251886Speter
15251886SpeterSSL_CTX_free() decrements the reference count of B<ctx>, and removes the
16251886SpeterSSL_CTX object pointed to by B<ctx> and frees up the allocated memory if the
17251886Speterthe reference count has reached 0.
18251886Speter
19251886SpeterIt also calls the free()ing procedures for indirectly affected items, if
20251886Speterapplicable: the session cache, the list of ciphers, the list of Client CAs,
21the certificates and keys.
22
23=head1 RETURN VALUES
24
25SSL_CTX_free() does not provide diagnostic information.
26
27L<SSL_CTX_new(3)|SSL_CTX_new(3)>, L<ssl(3)|ssl(3)>
28
29=cut
30