crypto-tester: Fix build with DEBUG_LEVEL < 1
This commit is contained in:
@@ -110,6 +110,7 @@ struct private_crypto_tester_t {
|
|||||||
int bench_size;
|
int bench_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if DEBUG_LEVEL >= 1
|
||||||
/**
|
/**
|
||||||
* Get the name of a test vector, if available
|
* Get the name of a test vector, if available
|
||||||
*/
|
*/
|
||||||
@@ -125,6 +126,7 @@ static const char* get_name(void *sym)
|
|||||||
#endif
|
#endif
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CLOCK_THREAD_CPUTIME_ID) && defined(HAVE_CLOCK_GETTIME)
|
#if defined(CLOCK_THREAD_CPUTIME_ID) && defined(HAVE_CLOCK_GETTIME)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user