SSL_GET0_GROUP_NAME(3ossl)
π SSL_GET0_GROUP_NAME β like, which group did your TLS handshake actually vibe with? π
okay so bestie, this is the 3ossl manual page for SSL_get0_group_name, and it's genuinely so cute and simple. no cap, it's a one-function wonder.
β¨ NAME β¨
SSL_get0_group_name β get the 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);
like, that's it. one include, one function, one SSL *. iconic.
π¦ DESCRIPTION π¦
So SSL_get0_group_name() returns the name of the group that was used for the key agreement of the current TLS session establishment. That's the whole personality. It tells you which group your key agreement picked, for the TLS session that's being established right now. β¨
π RETURN VALUES π
If it's 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. (yes, same sentence, it's that kind of function π
)
If SSL_get0_group_name() returns NULL, an error occurred β possibly no TLS session has been established. See also SSL_get_negotiated_group(3).
β οΈ okay this part matters, bestie: the return value is valid only during the lifetime of theSSLobjectssl. Don't go stashing that pointer somewhere and acting surprised later. π
π₯ SEE ALSO π₯
π HISTORY π
This function was added in OpenSSL 3.2. so if you're on something older, no group name for you, sorry babe π
π COPYRIGHT π
Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
and that's the page!! π«Ά sign-off time: this was version 3.5.0, dated 2026-09-25, filed under SSL_GET0_GROUP_NAME(3ossl) β go get that group name, bestie, you ate π
β¨π
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms