aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-05-16 09:43:51 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-05-16 09:43:51 +0000
commit74daa124c211a8a08bfcfcc210652b1ebbdf0b45 (patch)
treedbba497a56649ce25d802b7c3bc0094482a2d67d /doc
parentb8e35bd66e4d3d94c10091f6773afc4314ffcc80 (diff)
downloadopenssl-74daa124c211a8a08bfcfcc210652b1ebbdf0b45.tar.gz
Add missing item(s) SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT.
Diffstat (limited to 'doc')
-rw-r--r--doc/ssl/SSL_get_error.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ssl/SSL_get_error.pod b/doc/ssl/SSL_get_error.pod
index fefaf61936..f700bf0ace 100644
--- a/doc/ssl/SSL_get_error.pod
+++ b/doc/ssl/SSL_get_error.pod
@@ -69,6 +69,17 @@ to read data. This is mainly because TLS/SSL handshakes may occur at any
time during the protocol (initiated by either the client or the server);
SSL_read(), SSL_peek(), and SSL_write() will handle any pending handshakes.
+=item SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT
+
+The operation did not complete; the same TLS/SSL I/O function should be
+called again later. The underlying BIO was not connected yet to the peer
+and the call would block in connect()/accept(). The SSL function should be
+called again when the connection is established. These messages can only
+appear with a BIO_s_connect() or BIO_s_accept() BIO, respectively.
+In order to find out, when the connection has been successfully established,
+on many platforms select() or poll() for writing on the socket file descriptor
+can be used.
+
=item SSL_ERROR_WANT_X509_LOOKUP
The operation did not complete because an application callback set by