sodium_utils{2,3} are not worth running in benchmarks

This commit is contained in:
Frank Denis
2023-06-16 19:01:57 +02:00
parent c524c7a14b
commit a3c44aba94
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -49,6 +49,10 @@ main(void)
size_t size;
unsigned int i;
#ifdef BENCHMARKS
return 0;
#endif
if (sodium_malloc(SIZE_MAX - 1U) != NULL) {
return 1;
}
+4
View File
@@ -44,6 +44,10 @@ main(void)
void * buf;
size_t size;
#ifdef BENCHMARKS
return 0;
#endif
#ifdef SIG_DFL
# ifdef SIGSEGV
signal(SIGSEGV, segv_handler);