aboutsummaryrefslogtreecommitdiffstats
path: root/test/tls13ccstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tls13ccstest.c')
-rw-r--r--test/tls13ccstest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c
index d89354c142..d0bc43a8fa 100644
--- a/test/tls13ccstest.c
+++ b/test/tls13ccstest.c
@@ -315,8 +315,13 @@ static int test_tls13ccs(int tst)
if ((tst >= 3 && tst <= 5) || tst >= 9) {
/* HRR handshake */
+#if defined(OPENSSL_NO_EC)
+ if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "ffdhe3072")))
+ goto err;
+#else
if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "P-256")))
goto err;
+#endif
}
s_to_c_fbio = BIO_new(bio_f_watchccs_filter());