Deleted Added
full compact
1=pod
2
3=head1 NAME
4
5SSL_clear - reset SSL object to allow another connection
6
7=head1 SYNOPSIS
8

--- 11 unchanged lines hidden (view full) ---

20SSL_clear is used to prepare an SSL object for a new connection. While all
21settings are kept, a side effect is the handling of the current SSL session.
22If a session is still B<open>, it is considered bad and will be removed
23from the session cache, as required by RFC2246. A session is considered open,
24if L<SSL_shutdown(3)|SSL_shutdown(3)> was not called for the connection
25or at least L<SSL_set_shutdown(3)|SSL_set_shutdown(3)> was used to
26set the SSL_SENT_SHUTDOWN state.
27
28=head1 RETURN VALUES
29
30The following return values can occur:
31
32=over 4
33
34=item 0
35
36The SSL_clear() operation could not be performed. Check the error stack to
37find out the reason.
38
39=item 1
40
41The SSL_clear() operation was successful.
42
43=back
44
45L<SSL_new(3)|SSL_new(3)>, L<SSL_free(3)|SSL_free(3)>,
46L<SSL_shutdown(3)|SSL_shutdown(3)>, L<SSL_set_shutdown(3)|SSL_set_shutdown(3)>,
47L, L
48
49=cut