From a3e53d56831adb60d6875297b3339a4251f735d2 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Wed, 8 Sep 2021 16:23:04 -0400 Subject: Add TFO support to socket BIO and s_client/s_server Supports Linux, MacOS and FreeBSD Disabled by default, enabled via `enabled-tfo` Some tests Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/8692) --- util/libcrypto.num | 1 + util/missingmacro.txt | 1 - util/other.syms | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/libcrypto.num b/util/libcrypto.num index 0549b87025..394f454732 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5436,3 +5436,4 @@ BN_signed_native2bn ? 3_1_0 EXIST::FUNCTION: BN_signed_bn2native ? 3_1_0 EXIST::FUNCTION: ASYNC_set_mem_functions ? 3_1_0 EXIST::FUNCTION: ASYNC_get_mem_functions ? 3_1_0 EXIST::FUNCTION: +BIO_ADDR_dup ? 3_1_0 EXIST::FUNCTION:SOCK diff --git a/util/missingmacro.txt b/util/missingmacro.txt index 97d22205af..8e02bb7b83 100644 --- a/util/missingmacro.txt +++ b/util/missingmacro.txt @@ -9,7 +9,6 @@ BIO_get_retry_flags(3) BIO_CB_return(3) BIO_cb_pre(3) BIO_cb_post(3) -BIO_set_conn_mode(3) BIO_dup_state(3) BIO_buffer_get_num_lines(3) BIO_buffer_peek(3) diff --git a/util/other.syms b/util/other.syms index 7635854b19..82766810f1 100644 --- a/util/other.syms +++ b/util/other.syms @@ -166,6 +166,7 @@ BIO_get_conn_address define BIO_get_conn_hostname define BIO_get_conn_port define BIO_get_conn_ip_family define +BIO_get_conn_mode define BIO_get_fd define BIO_get_fp define BIO_get_indent define @@ -199,6 +200,7 @@ BIO_set_conn_address define BIO_set_conn_hostname define BIO_set_conn_port define BIO_set_conn_ip_family define +BIO_set_conn_mode define BIO_set_fd define BIO_set_fp define BIO_set_indent define @@ -214,6 +216,8 @@ BIO_set_ssl define BIO_set_ssl_mode define BIO_set_ssl_renegotiate_bytes define BIO_set_ssl_renegotiate_timeout define +BIO_set_tfo define +BIO_set_tfo_accept define BIO_set_write_buf_size define BIO_set_write_buffer_size define BIO_should_io_special define -- cgit v1.2.3