From 9d8b18c74e9984e522bcbe161a8033cc9c57e81a Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 18 Feb 2025 08:42:12 +0100 Subject: [PATCH] test/quicapitest.c: Fix build with no-ssl-trace MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/26810) --- test/quicapitest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/quicapitest.c b/test/quicapitest.c index 1a483f6c182..c324f28997a 100644 --- a/test/quicapitest.c +++ b/test/quicapitest.c @@ -554,6 +554,7 @@ static int test_ssl_trace(void) } #endif +#ifndef OPENSSL_NO_SSL_TRACE enum { INITIAL = 0, GATHER_TOKEN = 1, @@ -687,6 +688,7 @@ static int test_new_token(void) return testresult; } +#endif static int ensure_valid_ciphers(const STACK_OF(SSL_CIPHER) *ciphers) { @@ -2738,7 +2740,9 @@ int setup_tests(void) ADD_TEST(test_domain_flags); ADD_TEST(test_early_ticks); ADD_TEST(test_ssl_new_from_listener); +#ifndef OPENSSL_NO_SSL_TRACE ADD_TEST(test_new_token); +#endif return 1; err: cleanup_tests(); -- 2.47.2