SSL_clear.pod revision 68651
193836Stmm=pod
293836Stmm
393836Stmm=head1 NAME
493836Stmm
593836StmmSSL_clear - reset SSL object to allow another connection
693836Stmm
793836Stmm=head1 SYNOPSIS
893836Stmm
993836Stmm #include <openssl/ssl.h>
1093836Stmm
1193836Stmm int SSL_clear(SSL *ssl);
1293836Stmm
1393836Stmm=head1 DESCRIPTION
1493836Stmm
1593836StmmReset B<ssl> to allow another connection. All settings (method, ciphers,
1693836StmmBIOs) are kept. A completely negotiated B<SSL_SESSION> is not freed but left
1793836Stmmuntouched for the underlying B<SSL_CTX>.
1893836Stmm
1993836Stmm=head1 RETURN VALUES
2093836Stmm
2193836StmmThe following return values can occur:
2293836Stmm
2393836Stmm=over 4
2493836Stmm
2593836Stmm=item 0
2693836Stmm
2793836StmmThe SSL_clear() operation could not be performed. Check the error stack to
2893836Stmmfind out the reason.
29201004Smarius
3093836Stmm=item 1
3193836Stmm
32119418SobrienThe SSL_clear() operation was successful.
33119418Sobrien
34119418Sobrien=back
3593836Stmm
36201003SmariusL<SSL_new(3)|SSL_new(3)>, L<SSL_free(3)|SSL_free(3)>,
3793836StmmL<ssl(3)|ssl(3)>
3893836Stmm
3993836Stmm=cut
4093836Stmm