summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/doc/ssl/SSL_accept.pod
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/doc/ssl/SSL_accept.pod')
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_accept.pod11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libssl/src/doc/ssl/SSL_accept.pod b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
index 0c79ac515e..86f980de41 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_accept.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
@@ -37,6 +37,11 @@ nothing is to be done, but select() can be used to check for the required
37condition. When using a buffering BIO, like a BIO pair, data must be written 37condition. When using a buffering BIO, like a BIO pair, data must be written
38into or retrieved out of the BIO before being able to continue. 38into or retrieved out of the BIO before being able to continue.
39 39
40When using a generic method (see L<SSL_CTX_new(3)|SSL_CTX_new(3)>), it
41is necessary to call SSL_set_accept_state()
42before calling SSL_accept() to explicitly switch the B<ssl> to server
43mode.
44
40=head1 RETURN VALUES 45=head1 RETURN VALUES
41 46
42The following return values can occur: 47The following return values can occur:
@@ -54,7 +59,7 @@ The TLS/SSL handshake was not successful but was shut down controlled and
54by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the 59by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
55return value B<ret> to find out the reason. 60return value B<ret> to find out the reason.
56 61
57=item -1 62=item E<lt>0
58 63
59The TLS/SSL handshake was not successful because a fatal error occurred either 64The TLS/SSL handshake was not successful because a fatal error occurred either
60at the protocol level or a connection failure occurred. The shutdown was 65at the protocol level or a connection failure occurred. The shutdown was
@@ -67,6 +72,8 @@ to find out the reason.
67=head1 SEE ALSO 72=head1 SEE ALSO
68 73
69L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>, 74L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>,
70L<SSL_shutdown(3)|SSL_shutdown(3)>, L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)> 75L<SSL_shutdown(3)|SSL_shutdown(3)>, L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)>,
76L<SSL_set_connect_state(3)|SSL_set_connect_state(3)>,
77L<SSL_CTX_new(3)|SSL_CTX_new(3)>
71 78
72=cut 79=cut