Skip to content

Commit e24a2f5

Browse files
committed
Add compile-time error to valgrind_ctime_test
1 parent d9701b0 commit e24a2f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/valgrind_ctime_test.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#include "assumptions.h"
1111
#include "checkmem.h"
1212

13+
#if !SECP256K1_CHECKMEM_ENABLED
14+
# error "This tool cannot be compiled without memory-checking interface (valgrind)"
15+
#endif
16+
1317
#ifdef ENABLE_MODULE_ECDH
1418
# include "../include/secp256k1_ecdh.h"
1519
#endif

0 commit comments

Comments
 (0)