Skip to content

Commit

Permalink
Add compile-time error to valgrind_ctime_test
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Jan 11, 2023
1 parent 0db05a7 commit 8dc6407
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/valgrind_ctime_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include "assumptions.h"
#include "checkmem.h"

#if !SECP256K1_CHECKMEM_ENABLED
# error "This tool cannot be compiled without memory-checking interface (valgrind)"
#endif

#ifdef ENABLE_MODULE_ECDH
# include "../include/secp256k1_ecdh.h"
#endif
Expand Down

0 comments on commit 8dc6407

Please sign in to comment.