crypto-tester: Fix build with DEBUG_LEVEL < 1

This commit is contained in:
Tobias Brunner
2023-05-08 14:06:43 +02:00
parent d7750dff9b
commit f73d8699b3
+2
View File
@@ -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)