]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
To reliably trigger HRR we must use P-384 group
authorTomas Mraz <tomas@openssl.org>
Fri, 28 Jun 2024 14:08:39 +0000 (16:08 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 1 Jul 2024 08:05:41 +0000 (10:05 +0200)
Otherwise with newer FIPS providers P-256 is the first group
supported.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24763)

test/sslapitest.c

index 3257057f48a74475cc8ecbf2482ea99e2f0ab6a2..e5e1c1471ae8cd983bad2266aa5bd14d35c43fea 100644 (file)
@@ -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) {
@@ -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