Skip to content

Commit

Permalink
To reliably trigger HRR we must use P-384 group
Browse files Browse the repository at this point in the history
Otherwise with newer FIPS providers P-256 is the first group
supported.

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Tim Hudson <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#24763)
  • Loading branch information
t8m committed Jul 1, 2024
1 parent 3dc078f commit 0da6d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sslapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -3945,7 +3945,7 @@ static int early_data_skip_helper(int testtype, int cipher, int idx)
if (!TEST_true(SSL_set1_groups_list(serverssl, "ffdhe3072")))
goto end;
#else
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-256")))
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-384")))
goto end;
#endif
} else if (idx == 2) {
Expand Down Expand Up @@ -5560,7 +5560,7 @@ static int test_tls13_psk(int idx)
if (!TEST_true(SSL_set1_groups_list(serverssl, "ffdhe3072")))
goto end;
#else
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-256")))
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-384")))
goto end;
#endif

Expand Down

0 comments on commit 0da6d32

Please sign in to comment.