summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/man/BIO_s_bio.318
1 files changed, 7 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_bio.3 b/src/lib/libcrypto/man/BIO_s_bio.3
index 8a4eb61e10..065a8bae08 100644
--- a/src/lib/libcrypto/man/BIO_s_bio.3
+++ b/src/lib/libcrypto/man/BIO_s_bio.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_bio.3,v 1.8 2016/12/06 12:24:33 schwarze Exp $ 1.\" $OpenBSD: BIO_s_bio.3,v 1.9 2017/01/06 02:29:18 schwarze Exp $
2.\" OpenSSL c03726ca Aug 27 12:28:08 2015 -0400 2.\" OpenSSL c03726ca Aug 27 12:28:08 2015 -0400
3.\" 3.\"
4.\" This file was written by 4.\" This file was written by
@@ -53,7 +53,7 @@
53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
54.\" OF THE POSSIBILITY OF SUCH DAMAGE. 54.\" OF THE POSSIBILITY OF SUCH DAMAGE.
55.\" 55.\"
56.Dd $Mdocdate: December 6 2016 $ 56.Dd $Mdocdate: January 6 2017 $
57.Dt BIO_S_BIO 3 57.Dt BIO_S_BIO 3
58.Os 58.Os
59.Sh NAME 59.Sh NAME
@@ -328,8 +328,8 @@ application | TLS-engine
328 | || \e/ 328 | || \e/
329 | BIO-pair (internal_bio) 329 | BIO-pair (internal_bio)
330 | BIO-pair (network_bio) 330 | BIO-pair (network_bio)
331 | || /\ 331 | || /\e
332 | \/ || 332 | \e/ ||
333 +-----------< BIO_operations() 333 +-----------< BIO_operations()
334 | | 334 | |
335 socket | 335 socket |
@@ -353,8 +353,7 @@ and must be transferred to the network.
353Use 353Use
354.Fn BIO_ctrl_get_read_request 354.Fn BIO_ctrl_get_read_request
355to find out how many bytes must be written into the buffer before the 355to find out how many bytes must be written into the buffer before the
356.Xr SSL_operation 3 356SSL operations can successfully be continued.
357can successfully be continued.
358.Sh SEE ALSO 357.Sh SEE ALSO
359.Xr BIO_new 3 , 358.Xr BIO_new 3 ,
360.Xr BIO_read 3 , 359.Xr BIO_read 3 ,
@@ -362,13 +361,10 @@ can successfully be continued.
362.Xr ssl 3 , 361.Xr ssl 3 ,
363.Xr SSL_set_bio 3 362.Xr SSL_set_bio 3
364.Sh CAVEATS 363.Sh CAVEATS
365As the data is buffered, 364As the data is buffered, SSL operations may return with an
366.Xr SSL_operation 3
367may return with an
368.Dv ERROR_SSL_WANT_READ 365.Dv ERROR_SSL_WANT_READ
369condition, but there is still data in the write buffer. 366condition, but there is still data in the write buffer.
370An application must not rely on the error value of 367An application must not rely on the error value of the SSL operation
371.Xr SSL_operation 3
372but must assure that the write buffer is always flushed first. 368but must assure that the write buffer is always flushed first.
373Otherwise a deadlock may occur as the peer might be waiting 369Otherwise a deadlock may occur as the peer might be waiting
374for the data before being able to continue. 370for the data before being able to continue.