aboutsummaryrefslogtreecommitdiff
path: root/test/quicapitest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-07-06 11:20:36 +0100
committerMatt Caswell <matt@openssl.org>2023-07-06 12:11:11 +0100
commit61cc84d9f9d8ad3f918d5bd908096d39b72c3969 (patch)
tree5c788fb5f03d57d81954a7110a00103277ec3d58 /test/quicapitest.c
parent47ef3b9fc03c92f6a387927f1b8b0fe1014eb646 (diff)
downloadopenssl-61cc84d9f9d8ad3f918d5bd908096d39b72c3969.zip
openssl-61cc84d9f9d8ad3f918d5bd908096d39b72c3969.tar.gz
openssl-61cc84d9f9d8ad3f918d5bd908096d39b72c3969.tar.bz2
Don't build the QUIC ssl trace when DH is disabled
The test assumes certain options are on/off. DH must be on for this test. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> (Merged from https://github.com/openssl/openssl/pull/21373)
Diffstat (limited to 'test/quicapitest.c')
-rw-r--r--test/quicapitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/quicapitest.c b/test/quicapitest.c
index d7eb919..6d88ee9 100644
--- a/test/quicapitest.c
+++ b/test/quicapitest.c
@@ -31,7 +31,8 @@ static int is_fips = 0;
/* The ssltrace test assumes some options are switched on/off */
#if !defined(OPENSSL_NO_SSL_TRACE) && !defined(OPENSSL_NO_EC) \
&& defined(OPENSSL_NO_ZLIB) && defined(OPENSSL_NO_BROTLI) \
- && defined(OPENSSL_NO_ZSTD) && !defined(OPENSSL_NO_ECX)
+ && defined(OPENSSL_NO_ZSTD) && !defined(OPENSSL_NO_ECX) \
+ && !defined(OPENSSL_NO_DH)
# define DO_SSL_TRACE_TEST
#endif