summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2023-04-30 13:57:29 +0000
committerschwarze <>2023-04-30 13:57:29 +0000
commit787015a2298e961de8ef47f3e96b77ec2cc8a73a (patch)
treed885ca72463cabd242e2dd30a50ea608207f3001 /src
parent60dcd24244fcacdfd2f348b9f86c6b8754e13b23 (diff)
downloadopenbsd-787015a2298e961de8ef47f3e96b77ec2cc8a73a.tar.gz
openbsd-787015a2298e961de8ef47f3e96b77ec2cc8a73a.tar.bz2
openbsd-787015a2298e961de8ef47f3e96b77ec2cc8a73a.zip
Slightly improve the documentation of the "oper" parameter by
explicitly listing the valid arguments, i.e. the BIO_CB_* constants.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/BIO_set_callback.313
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_set_callback.3 b/src/lib/libcrypto/man/BIO_set_callback.3
index 7a653c7814..56a0102be6 100644
--- a/src/lib/libcrypto/man/BIO_set_callback.3
+++ b/src/lib/libcrypto/man/BIO_set_callback.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_set_callback.3,v 1.11 2023/04/07 14:47:37 schwarze Exp $ 1.\" $OpenBSD: BIO_set_callback.3,v 1.12 2023/04/30 13:57:29 schwarze Exp $
2.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 2.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: April 7 2023 $ 68.Dd $Mdocdate: April 30 2023 $
69.Dt BIO_SET_CALLBACK 3 69.Dt BIO_SET_CALLBACK 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -190,7 +190,14 @@ The arguments of the callback functions are as follows:
190.It Fa b 190.It Fa b
191The BIO the callback is attached to. 191The BIO the callback is attached to.
192.It Fa oper 192.It Fa oper
193The operation being performed. 193The operation being performed, which is one of
194.Dv BIO_CB_CTRL ,
195.Dv BIO_CB_FREE ,
196.Dv BIO_CB_GETS ,
197.Dv BIO_CB_PUTS ,
198.Dv BIO_CB_READ ,
199or
200.Dv BIO_CB_WRITE .
194For some operations, the callback is called twice, 201For some operations, the callback is called twice,
195once before and once after the actual operation. 202once before and once after the actual operation.
196The latter case has 203The latter case has