diff options
author | schwarze <> | 2016-11-11 01:23:46 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-11 01:23:46 +0000 |
commit | 36b257cdffdc3f0244ec896c13fd5d99f43f5618 (patch) | |
tree | e9b7cf38e9ddace5c12e7708b748714f75e890cc /src/lib | |
parent | fef18ddc001294ce8631dda8a7218984f6aebb99 (diff) | |
download | openbsd-36b257cdffdc3f0244ec896c13fd5d99f43f5618.tar.gz openbsd-36b257cdffdc3f0244ec896c13fd5d99f43f5618.tar.bz2 openbsd-36b257cdffdc3f0244ec896c13fd5d99f43f5618.zip |
add Copyright and license,
simplify the BIO_callback_ctrl() prototype,
and change .Fn to .Xr for two functions documented elsewhere
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/BIO_ctrl.3 | 58 |
1 files changed, 53 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/BIO_ctrl.3 b/src/lib/libcrypto/man/BIO_ctrl.3 index 6557d10730..bc9d59eb7c 100644 --- a/src/lib/libcrypto/man/BIO_ctrl.3 +++ b/src/lib/libcrypto/man/BIO_ctrl.3 | |||
@@ -1,6 +1,54 @@ | |||
1 | .\" $OpenBSD: BIO_ctrl.3,v 1.4 2016/11/07 15:52:47 jmc Exp $ | 1 | .\" $OpenBSD: BIO_ctrl.3,v 1.5 2016/11/11 01:23:46 schwarze Exp $ |
2 | .\" OpenSSL b055fceb Thu Oct 20 09:56:18 2016 +0100 | ||
2 | .\" | 3 | .\" |
3 | .Dd $Mdocdate: November 7 2016 $ | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
5 | .\" Copyright (c) 2000, 2016 The OpenSSL Project. All rights reserved. | ||
6 | .\" | ||
7 | .\" Redistribution and use in source and binary forms, with or without | ||
8 | .\" modification, are permitted provided that the following conditions | ||
9 | .\" are met: | ||
10 | .\" | ||
11 | .\" 1. Redistributions of source code must retain the above copyright | ||
12 | .\" notice, this list of conditions and the following disclaimer. | ||
13 | .\" | ||
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
15 | .\" notice, this list of conditions and the following disclaimer in | ||
16 | .\" the documentation and/or other materials provided with the | ||
17 | .\" distribution. | ||
18 | .\" | ||
19 | .\" 3. All advertising materials mentioning features or use of this | ||
20 | .\" software must display the following acknowledgment: | ||
21 | .\" "This product includes software developed by the OpenSSL Project | ||
22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
23 | .\" | ||
24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
25 | .\" endorse or promote products derived from this software without | ||
26 | .\" prior written permission. For written permission, please contact | ||
27 | .\" openssl-core@openssl.org. | ||
28 | .\" | ||
29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
31 | .\" permission of the OpenSSL Project. | ||
32 | .\" | ||
33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
34 | .\" acknowledgment: | ||
35 | .\" "This product includes software developed by the OpenSSL Project | ||
36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
37 | .\" | ||
38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
50 | .\" | ||
51 | .Dd $Mdocdate: November 11 2016 $ | ||
4 | .Dt BIO_CTRL 3 | 52 | .Dt BIO_CTRL 3 |
5 | .Os | 53 | .Os |
6 | .Sh NAME | 54 | .Sh NAME |
@@ -35,7 +83,7 @@ | |||
35 | .Fo BIO_callback_ctrl | 83 | .Fo BIO_callback_ctrl |
36 | .Fa "BIO *b" | 84 | .Fa "BIO *b" |
37 | .Fa "int cmd" | 85 | .Fa "int cmd" |
38 | .Fa "void (*fp)(struct bio_st *, int, const char *, int, long, long)" | 86 | .Fa "bio_info_cb cb" |
39 | .Fc | 87 | .Fc |
40 | .Ft char * | 88 | .Ft char * |
41 | .Fo BIO_ptr_ctrl | 89 | .Fo BIO_ptr_ctrl |
@@ -226,9 +274,9 @@ Because it can write data, | |||
226 | .Fn BIO_flush | 274 | .Fn BIO_flush |
227 | may return 0 or -1 indicating that the call should be retried later | 275 | may return 0 or -1 indicating that the call should be retried later |
228 | in a similar manner to | 276 | in a similar manner to |
229 | .Fn BIO_write . | 277 | .Xr BIO_write 3 . |
230 | The | 278 | The |
231 | .Fn BIO_should_retry | 279 | .Xr BIO_should_retry 3 |
232 | call should be used and appropriate action taken if the call fails. | 280 | call should be used and appropriate action taken if the call fails. |
233 | .Pp | 281 | .Pp |
234 | The return values of | 282 | The return values of |