summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2022-12-21 15:08:37 +0000
committerschwarze <>2022-12-21 15:08:37 +0000
commitced3705d9d8d2139e1abfd9b7173308a73d023df (patch)
tree87d98e4e8b49d9db89fe89fad055f455677f6add /src/lib
parentb0e8b12edfd8b0610a06ac9bce0f9e1b0ce70970 (diff)
downloadopenbsd-ced3705d9d8d2139e1abfd9b7173308a73d023df.tar.gz
openbsd-ced3705d9d8d2139e1abfd9b7173308a73d023df.tar.bz2
openbsd-ced3705d9d8d2139e1abfd9b7173308a73d023df.zip
Mark BIO_nread0(3), BIO_nread(3), BIO_nwrite0(3), and BIO_nwrite(3)
as intentionally undocumented. Bodo Moeller invented this "non-copying I/O" API in 1999, but according to codesearch.debian.net, it is still completely unused by anything. On top of that, it appears to be inflexible in so far as it only supports BIO pairs and no other BIO types and fragile in so far as it exposes pointers to internal storage and runs contrary to expectations of how BIO objects are supposed to work.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/BIO_s_bio.310
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_bio.3 b/src/lib/libcrypto/man/BIO_s_bio.3
index 3c5b1fbe10..227828e2f9 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.15 2022/12/18 19:35:36 schwarze Exp $ 1.\" $OpenBSD: BIO_s_bio.3,v 1.16 2022/12/21 15:08:37 schwarze Exp $
2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -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 18 2022 $ 56.Dd $Mdocdate: December 21 2022 $
57.Dt BIO_S_BIO 3 57.Dt BIO_S_BIO 3
58.Os 58.Os
59.Sh NAME 59.Sh NAME
@@ -69,6 +69,12 @@
69.Nm BIO_get_read_request , 69.Nm BIO_get_read_request ,
70.Nm BIO_ctrl_get_read_request , 70.Nm BIO_ctrl_get_read_request ,
71.Nm BIO_ctrl_reset_read_request 71.Nm BIO_ctrl_reset_read_request
72.\" The following non-copying I/O functions are intentionally undocumented
73.\" because they seem fragile and unused by anything:
74.\" .Nm BIO_nread0
75.\" .Nm BIO_nread
76.\" .Nm BIO_nwrite0
77.\" .Nm BIO_nwrite
72.Nd BIO pair BIO 78.Nd BIO pair BIO
73.Sh SYNOPSIS 79.Sh SYNOPSIS
74.In openssl/bio.h 80.In openssl/bio.h