summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_s_connect.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_connect.3')
-rw-r--r--src/lib/libcrypto/man/BIO_s_connect.332
1 files changed, 19 insertions, 13 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_connect.3 b/src/lib/libcrypto/man/BIO_s_connect.3
index 2b2783fc5c..54fb1fe09f 100644
--- a/src/lib/libcrypto/man/BIO_s_connect.3
+++ b/src/lib/libcrypto/man/BIO_s_connect.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_connect.3,v 1.16 2023/04/11 16:58:43 schwarze Exp $ 1.\" $OpenBSD: BIO_s_connect.3,v 1.17 2023/04/26 15:03:02 schwarze Exp $
2.\" full merge up to: OpenSSL 0e474b8b Nov 1 15:45:49 2015 +0100 2.\" full merge up to: OpenSSL 0e474b8b Nov 1 15:45:49 2015 +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 11 2023 $ 68.Dd $Mdocdate: April 26 2023 $
69.Dt BIO_S_CONNECT 3 69.Dt BIO_S_CONNECT 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -352,18 +352,24 @@ are called internally to automatically copy the hostname, port,
352non-blocking I/O flag, and info callback from the original BIO object 352non-blocking I/O flag, and info callback from the original BIO object
353to the new one. 353to the new one.
354.Pp 354.Pp
355.Fn BIO_set_conn_hostname , 355.Xr BIO_ctrl 3
356.Fn BIO_set_conn_port , 356.Fa cmd
357.Fn BIO_set_conn_ip ,
358.Fn BIO_set_conn_int_port ,
359.Fn BIO_get_conn_hostname ,
360.Fn BIO_get_conn_port ,
361.Fn BIO_get_conn_ip ,
362.Fn BIO_get_conn_int_port ,
363.Fn BIO_set_nbio ,
364and 357and
365.Fn BIO_do_connect 358.Fa larg
366are macros. 359arguments correspond to macros as follows:
360.Bl -column BIO_C_DO_STATE_MACHINE larg BIO_get_conn_hostname(3) -offset 3n
361.It Fa cmd No constant Ta Fa larg Ta corresponding macro
362.It Dv BIO_C_DO_STATE_MACHINE Ta 0 Ta Fn BIO_do_connect
363.It Dv BIO_C_GET_CONNECT Ta 0 Ta Fn BIO_get_conn_hostname
364.It Ta 1 Ta Fn BIO_get_conn_port
365.It Ta 2 Ta Fn BIO_get_conn_ip
366.It Ta 3 Ta Fn BIO_get_conn_int_port
367.It Dv BIO_C_SET_CONNECT Ta 0 Ta Fn BIO_set_conn_hostname
368.It Ta 1 Ta Fn BIO_set_conn_port
369.It Ta 2 Ta Fn BIO_set_conn_ip
370.It Ta 3 Ta Fn BIO_set_conn_int_port
371.It Dv BIO_C_SET_NBIO Ta Fa n Ta Fn BIO_set_nbio
372.El
367.Sh RETURN VALUES 373.Sh RETURN VALUES
368.Fn BIO_s_connect 374.Fn BIO_s_connect
369returns the connect BIO method. 375returns the connect BIO method.