diff options
author | Matt Caswell <matt@openssl.org> | 2022-09-30 10:50:53 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-10-07 10:01:48 +0100 |
commit | 16f0e91cf82e13c327f0b0402459dfbf78ef787c (patch) | |
tree | 6bf3df6bc0bfec81e505fbab59f8e612588ac6f6 /ssl/statem/extensions.c | |
parent | c007f466aaebd8ef07111c8560e039d8bcb5fa7b (diff) | |
download | openssl-16f0e91cf82e13c327f0b0402459dfbf78ef787c.tar.gz |
Partial revert and reimplement "Enable brainpool curves for TLS1.3"
This partially reverts commit 0a10825a0 in order to reimplement it in a
simpler way in the next commit. The reverted aspects are all related to
the TLSv1.3 brainpool curves in the supported_groups extension. Rather
than special casing the handling of these curves we simply add new entries
to the groups table to represent them. They can then be handled without
any additional special casing. This makes the code simpler to maintain.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19315)
Diffstat (limited to 'ssl/statem/extensions.c')
-rw-r--r-- | ssl/statem/extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c index 6dc21ad42f..47ad5110ab 100644 --- a/ssl/statem/extensions.c +++ b/ssl/statem/extensions.c @@ -1409,7 +1409,7 @@ static int final_key_share(SSL_CONNECTION *s, unsigned int context, int sent) group_id = pgroups[i]; if (check_in_list(s, group_id, clntgroups, clnt_num_groups, - 2)) + 1)) break; } |