diff options
author | Matt Caswell <matt@openssl.org> | 2019-06-13 19:34:37 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-17 10:57:19 +0100 |
commit | 65dc5c3cc10af7c6f24ecd922adb7b6d17a9fe65 (patch) | |
tree | b4b969f236f90015b0d63ef80781e7bd49ed2f4b /test/tls13ccstest.c | |
parent | dbc6268f68e50b2e49d7c5b1157b4f6bcea5d6f9 (diff) |
Fix no-ec with no-dh
Make sure that the combination of no-ec with no-dh builds successfully.
If neither ec or dh are available then TLSv1.3 is not possible.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9156)
Diffstat (limited to 'test/tls13ccstest.c')
-rw-r--r-- | test/tls13ccstest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c index d0bc43a8fa..1d0a268615 100644 --- a/test/tls13ccstest.c +++ b/test/tls13ccstest.c @@ -316,8 +316,10 @@ static int test_tls13ccs(int tst) if ((tst >= 3 && tst <= 5) || tst >= 9) { /* HRR handshake */ #if defined(OPENSSL_NO_EC) +# if !defined(OPENSSL_NO_DH) if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "ffdhe3072"))) goto err; +# endif #else if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "P-256"))) goto err; |