From f73d8699b346ce00e0690dd1ee4eb1506668dbcb Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 1 May 2023 10:35:05 +0200 Subject: [PATCH] crypto-tester: Fix build with DEBUG_LEVEL < 1 --- src/libstrongswan/crypto/crypto_tester.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstrongswan/crypto/crypto_tester.c b/src/libstrongswan/crypto/crypto_tester.c index b87c4c73a3..5cd6ef4d09 100644 --- a/src/libstrongswan/crypto/crypto_tester.c +++ b/src/libstrongswan/crypto/crypto_tester.c @@ -110,6 +110,7 @@ struct private_crypto_tester_t { int bench_size; }; +#if DEBUG_LEVEL >= 1 /** * Get the name of a test vector, if available */ @@ -125,6 +126,7 @@ static const char* get_name(void *sym) #endif return "unknown"; } +#endif #if defined(CLOCK_THREAD_CPUTIME_ID) && defined(HAVE_CLOCK_GETTIME) -- 2.47.2