diff options
author | schwarze <> | 2018-02-19 16:11:02 +0000 |
---|---|---|
committer | schwarze <> | 2018-02-19 16:11:02 +0000 |
commit | 65ef88b52f628263e28333ef28dee7d5b1fdf1f7 (patch) | |
tree | 6e7f56471a04bb90073169f42b5f6c76c8b19624 | |
parent | 47f6e658dcc0cabc72c7ca77a0998079f33d7ab1 (diff) | |
download | openbsd-65ef88b52f628263e28333ef28dee7d5b1fdf1f7.tar.gz openbsd-65ef88b52f628263e28333ef28dee7d5b1fdf1f7.tar.bz2 openbsd-65ef88b52f628263e28333ef28dee7d5b1fdf1f7.zip |
Merge new RETURN VALUES section; from Paul Yang via
OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 tweaked by me.
-rw-r--r-- | src/lib/libssl/man/BIO_f_ssl.3 | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/src/lib/libssl/man/BIO_f_ssl.3 b/src/lib/libssl/man/BIO_f_ssl.3 index 5404b9c70f..c8c44b48be 100644 --- a/src/lib/libssl/man/BIO_f_ssl.3 +++ b/src/lib/libssl/man/BIO_f_ssl.3 | |||
@@ -1,6 +1,6 @@ | |||
1 | .\" $OpenBSD: BIO_f_ssl.3,v 1.5 2017/08/20 17:35:18 schwarze Exp $ | 1 | .\" $OpenBSD: BIO_f_ssl.3,v 1.6 2018/02/19 16:11:02 schwarze Exp $ |
2 | .\" OpenSSL BIO_f_ssl.pod e90fc053 Jul 15 09:39:45 2017 -0400 | 2 | .\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 |
3 | .\" OpenSSL BIO_f_ssl.pod f672aee4 Feb 9 11:52:40 2016 -0500 | 3 | .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 |
4 | .\" | 4 | .\" |
5 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 5 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
6 | .\" Copyright (c) 2000, 2003, 2009, 2014-2016 The OpenSSL Project. | 6 | .\" Copyright (c) 2000, 2003, 2009, 2014-2016 The OpenSSL Project. |
@@ -50,7 +50,7 @@ | |||
50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
52 | .\" | 52 | .\" |
53 | .Dd $Mdocdate: August 20 2017 $ | 53 | .Dd $Mdocdate: February 19 2018 $ |
54 | .Dt BIO_F_SSL 3 | 54 | .Dt BIO_F_SSL 3 |
55 | .Os | 55 | .Os |
56 | .Sh NAME | 56 | .Sh NAME |
@@ -353,8 +353,37 @@ and | |||
353 | .Fn BIO_do_handshake | 353 | .Fn BIO_do_handshake |
354 | are implemented as macros. | 354 | are implemented as macros. |
355 | .Sh RETURN VALUES | 355 | .Sh RETURN VALUES |
356 | .\" XXX | 356 | .Fn BIO_f_ssl |
357 | This section is incomplete. | 357 | returns a pointer to a static |
358 | .Vt BIO_METHOD | ||
359 | structure. | ||
360 | .Pp | ||
361 | .Fn BIO_set_ssl , | ||
362 | .Fn BIO_get_ssl , | ||
363 | .Fn BIO_set_ssl_mode , | ||
364 | .Fn BIO_set_ssl_renegotiate_bytes , | ||
365 | .Fn BIO_set_ssl_renegotiate_timeout , | ||
366 | and | ||
367 | .Fn BIO_get_num_renegotiates | ||
368 | return 1 on success or a value less than or equal to 0 | ||
369 | if an error occurred. | ||
370 | .Pp | ||
371 | .Fn BIO_new_ssl , | ||
372 | .Fn BIO_new_ssl_connect , | ||
373 | and | ||
374 | .Fn BIO_new_buffer_ssl_connect | ||
375 | returns a pointer to a newly allocated | ||
376 | .Vt BIO | ||
377 | chain or | ||
378 | .Dv NULL | ||
379 | if an error occurred. | ||
380 | .Pp | ||
381 | .Fn BIO_ssl_copy_session_id | ||
382 | returns 1 on success or 0 on error. | ||
383 | .Pp | ||
384 | .Fn BIO_do_handshake | ||
385 | returns 1 if the connection was established successfully | ||
386 | or a value less than or equal to 0 otherwise. | ||
358 | .Sh EXAMPLES | 387 | .Sh EXAMPLES |
359 | This SSL/TLS client example attempts to retrieve a page from an SSL/TLS web | 388 | This SSL/TLS client example attempts to retrieve a page from an SSL/TLS web |
360 | server. | 389 | server. |