From 13a53fbf13bc6fa09c95ad4bdc6ec70fa15aa16d Mon Sep 17 00:00:00 2001 From: Phus Lu Date: Mon, 25 Oct 2021 18:47:00 +0800 Subject: add SSL_get0_iana_groups() & SSL_client_hello_get_extension_order() The function/macro allow user get groups/extensions without memory allcations. So we could calculate the ssl fignerprint(ja3) in low cost. Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/16910) --- util/libssl.num | 1 + util/other.syms | 1 + 2 files changed, 2 insertions(+) (limited to 'util') diff --git a/util/libssl.num b/util/libssl.num index f055c967bf..c7afa8fdb0 100644 --- a/util/libssl.num +++ b/util/libssl.num @@ -520,3 +520,4 @@ SSL_load_client_CA_file_ex 520 3_0_0 EXIST::FUNCTION: SSL_set0_tmp_dh_pkey 521 3_0_0 EXIST::FUNCTION: SSL_CTX_set0_tmp_dh_pkey 522 3_0_0 EXIST::FUNCTION: SSL_group_to_name 523 3_0_0 EXIST::FUNCTION: +SSL_client_hello_get_extension_order ? 3_1_0 EXIST::FUNCTION: diff --git a/util/other.syms b/util/other.syms index da5f937c3f..ae675b78f4 100644 --- a/util/other.syms +++ b/util/other.syms @@ -532,6 +532,7 @@ SSL_clear_chain_certs define SSL_clear_mode define SSL_disable_ct define SSL_get0_chain_certs define +SSL_get0_iana_groups define SSL_get0_session define SSL_get1_curves define SSL_get1_groups define -- cgit v1.2.3