SSL_get0_group_name(3ssl)

SSL_get0_group_name3ssl

Get name of the group that was used for the key agreement of the current tls session establishment

Usage

 #include <openssl/ssl.h>
 const char *SSL_get0_group_name(SSL *s);

Overview

SSL_get0_group_name() returns the name of the group that was used for the key agreement of the current TLS session establishment.

Return values

If non-NULL, SSL_get0_group_name() returns the name of the group that was used for the key agreement of the current TLS session establishment. If SSL_get0_group_name() returns NULL, an error occurred; possibly no TLS session has been established. See also SSL_get_negotiated_group(3).

Note that the return value is valid only during the lifetime of the SSL object ssl.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

History

This function was added in OpenSSL 3.2.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.