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:
parent
c524c7a14b
commit
a3c44aba94
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user