From: Tomas Mraz Date: Tue, 18 Feb 2025 07:42:12 +0000 (+0100) Subject: test/quicapitest.c: Fix build with no-ssl-trace X-Git-Tag: openssl-3.5.0-alpha1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8b18c74e9984e522bcbe161a8033cc9c57e81a;p=thirdparty%2Fopenssl.git test/quicapitest.c: Fix build with no-ssl-trace Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/26810) --- 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();