summaryrefslogtreecommitdiff
path: root/doc/ssl/SSL_SESSION_free.pod
blob: 2ec7544cac1638673ebcefe3bb649f946f1bc4a9 (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
=pod

=head1 NAME

SSL_SESSION_free - Free up an allocated SSL_SESSION structure

=head1 SYNOPSIS

 #include <openssl/ssl.h>

 void *SSL_SESSION_free(SSL_SESSION *session);

=head1 DESCRIPTION

SSL_SESSION_free() decrements the reference count of B<session> and removes
the SSL_SESSION structure pointed to by B<session> and frees up the allocated
memory, if the the reference count has reached 0.

=head1 RETURN VALUES

SSL_SESSION_free() does not provide diagnostic information.

L<ssl(3)|ssl(3)>, L<SSL_get_session(3)|SSL_get_session(3)>

=cut