]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix a no-ecx failure in test_tls13hrr
authorMatt Caswell <matt@openssl.org>
Thu, 6 Jul 2023 09:05:50 +0000 (10:05 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 6 Jul 2023 10:17:11 +0000 (11:17 +0100)
In the case of no-ecx test 3 in test_tls13hrr was failing because it was
setting the server side support groups to on P-256 in order to induce an
HRR. However with no-ecx the client insteads issues an initial key share
using P-256 anyway and so an HRR is not used. We swap to use P-384 instead.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/21372)

test/recipes/70-test_tls13hrr.t

index 7941cecc99cdc2e8bef7541690085c6ad5089795..ece9f033ded03f8225a1a8eb0dc1d395698c8c8f 100644 (file)
@@ -73,7 +73,7 @@ $proxy->clear();
 if (disabled("ec")) {
     $proxy->serverflags("-curves ffdhe3072");
 } else {
-    $proxy->serverflags("-curves P-256");
+    $proxy->serverflags("-curves P-384");
 }
 $testtype = DUPLICATE_HRR;
 $proxy->start();