SSL_get0_group_name.3ossl - Man Page

get name of the group that was used for the key agreement of the current TLS session establishment

Synopsis

 #include <openssl/ssl.h>

 const char *SSL_get0_group_name(SSL *s);

Description

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.

See Also

ssl(7), SSL_get_negotiated_group(3)

History

This function was added in OpenSSL 3.2.

Referenced By

SSL_CTX_set1_curves.3ossl(3).

2025-04-15 3.5.0 OpenSSL