SSL_GET0_GROUP_NAME(3ossl)

πŸ’– SSL_get0_group_name πŸ’–

okay so bestie, welcome to the 3ossl page for SSL_get0_group_name β€” it's giving "tiny function, huge glow-up" energy. This one lives in the OpenSSL crew, and it's here to spill the tea on which group your TLS session was vibing with during key agreement. ✨


🌸 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);

✨ DESCRIPTION ✨

So like, SSL_get0_group_name() hands you back the name of the group that was used for the key agreement of the current TLS session establishment. That's it. That's the whole thing. Main character behavior honestly. πŸ’…


πŸ‘‘ 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. Slay.

If SSL_get0_group_name() returns NULL, bestie... an error occurred. 😭 Possibly no TLS session has been established at all. See also SSL_get_negotiated_group(3).

⚠️ Important caveat, no cap: the return value is valid only during the lifetime of the SSL object ssl. Once that object dips, your pointer is giving expired-milk energy. Do not hold onto it. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’€ HISTORY πŸ’€

This function was added in OpenSSL 3.2. A modern icon. ⭐


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 whole page, periodt. πŸ’– This was OpenSSL 3.5.9, dated 2026-09-29 β€” thanks for reading my little manual page, bestie, you ate that. πŸŽ€πŸ¦‹πŸŒΈπŸ«Ά

πŸ“¦ where this page comes from