diff options
author | Michael Baentsch <info@baentsch.ch> | 2021-01-07 09:09:32 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-01-08 17:04:46 +0000 |
commit | becbacd705170952725571ae4404846b0ecee86a (patch) | |
tree | f7be4e390ca3736c25c5a5b8c500cce9aeb20615 /ssl/ssl_local.h | |
parent | 22aa4a3afb53984201c84970ec03b251d0117f00 (diff) |
Adding TLS group name retrieval
Function SSL_group_to_name() added, together with documentation and tests.
This now permits displaying names of internal and external
provider-implemented groups.
Partial fix of #13767
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13785)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index c2a4087c3b..22ab387422 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2650,6 +2650,7 @@ SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); __owur const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t curve_id); __owur int tls1_group_id2nid(uint16_t group_id, int include_unknown); +__owur uint16_t tls1_nid2group_id(int nid); __owur int tls1_check_group_id(SSL *s, uint16_t group_id, int check_own_curves); __owur uint16_t tls1_shared_group(SSL *s, int nmatch); __owur int tls1_set_groups(uint16_t **pext, size_t *pextlen, |