1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

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

This commit is contained in:
Frank Denis 2023-06-16 19:01:20 +02:00
parent c524c7a14b
commit a3c44aba94
2 changed files with 8 additions and 0 deletions

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;
}

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);