]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Don't build the QUIC ssl trace when DH is disabled
authorMatt Caswell <matt@openssl.org>
Thu, 6 Jul 2023 10:20:36 +0000 (11:20 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 6 Jul 2023 11:11:11 +0000 (12:11 +0100)
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)

test/quicapitest.c

index d7eb9192bd072ed78c9d6efce96d648b9e799eca..6d88ee9424a96dfe35eadd42e9789c10e126deae 100644 (file)
@@ -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