mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
If you are intereseted in one you might be interested in the other. Fixes #27137 Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27210)
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
SSL_get0_group_name - get name of the group that was used for the key
|
|
agreement of the current TLS session establishment
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
const char *SSL_get0_group_name(SSL *s);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
SSL_get0_group_name() returns the name of the group that was used for
|
|
the key agreement of the current TLS session establishment.
|
|
|
|
=head1 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 L<SSL_get_negotiated_group(3)>.
|
|
|
|
Note that the return value is valid only during the lifetime of the
|
|
SSL object I<ssl>.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<ssl(7)>,
|
|
L<SSL_get_negotiated_group(3)>
|
|
|
|
=head1 HISTORY
|
|
|
|
This function was added in OpenSSL 3.2.
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
Copyright 2023-2024 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
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
=cut
|