Add a test for an invalid group in the HRR
authorMatt Caswell <matt@openssl.org>
Fri, 9 Jun 2023 08:33:11 +0000 (09:33 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 23 Jun 2023 13:15:08 +0000 (14:15 +0100)
commitadf33f9e268b17ec1b4739707abb40b03b21ea6a
tree80d0030dc7ae2db11aa3fc326da4f466c4648ccf
parent7a949ae5f1799a6629cf6deb44ae0f38455a73dd
Add a test for an invalid group in the HRR

Test that if the client sends a key share for a group in the server's
supported_group list but is otherwise invalid, that we don't select it
in the HRR.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/21163)
test/recipes/70-test_tls13hrr.t