Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SSL_get0_group_name() to get name of the group used for KEX
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #20866)
- Loading branch information
Showing
8 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
=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. | ||
|
||
Note that the return value is valid only during the lifetime of the | ||
SSL object I<ssl>. | ||
|
||
=head1 SEE ALSO | ||
|
||
L<ssl(7)> | ||
|
||
=head1 COPYRIGHT | ||
|
||
Copyright 2023 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters