From 68668243b176cd2bc53a83c6768d4f39930ba8ed Mon Sep 17 00:00:00 2001 From: Alex Bozarth Date: Fri, 19 May 2023 14:08:41 -0500 Subject: Add SSL_get0_group_name() to get name of the group used for KEX Reviewed-by: Hugo Landau Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20866) --- ssl/ssl_local.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ssl/ssl_local.h') diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 7ab84acc80..decb02a207 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2767,6 +2767,7 @@ __owur int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL_CONNECTION *s); SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); __owur const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t curve_id); +__owur const char *tls1_group_id2name(SSL_CTX *ctx, uint16_t group_id); __owur int tls1_group_id2nid(uint16_t group_id, int include_unknown); __owur uint16_t tls1_nid2group_id(int nid); __owur int tls1_check_group_id(SSL_CONNECTION *s, uint16_t group_id, -- cgit v1.2.3