diff options
author | schwarze <> | 2023-04-30 13:57:29 +0000 |
---|---|---|
committer | schwarze <> | 2023-04-30 13:57:29 +0000 |
commit | 1c18fa0cb6488abccae4276ef38c4d29a49722a9 (patch) | |
tree | d885ca72463cabd242e2dd30a50ea608207f3001 /src | |
parent | 0d34e2780989a53524d978346dd960229f7c70e9 (diff) | |
download | openbsd-1c18fa0cb6488abccae4276ef38c4d29a49722a9.tar.gz openbsd-1c18fa0cb6488abccae4276ef38c4d29a49722a9.tar.bz2 openbsd-1c18fa0cb6488abccae4276ef38c4d29a49722a9.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.3 | 13 |
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 |
191 | The BIO the callback is attached to. | 191 | The BIO the callback is attached to. |
192 | .It Fa oper | 192 | .It Fa oper |
193 | The operation being performed. | 193 | The 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 , | ||
199 | or | ||
200 | .Dv BIO_CB_WRITE . | ||
194 | For some operations, the callback is called twice, | 201 | For some operations, the callback is called twice, |
195 | once before and once after the actual operation. | 202 | once before and once after the actual operation. |
196 | The latter case has | 203 | The latter case has |