Add compile-time error to valgrind_ctime_test
This commit is contained in:
parent
0db05a770e
commit
8dc64079eb
@ -10,6 +10,10 @@
|
|||||||
#include "assumptions.h"
|
#include "assumptions.h"
|
||||||
#include "checkmem.h"
|
#include "checkmem.h"
|
||||||
|
|
||||||
|
#if !SECP256K1_CHECKMEM_ENABLED
|
||||||
|
# error "This tool cannot be compiled without memory-checking interface (valgrind)"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_MODULE_ECDH
|
#ifdef ENABLE_MODULE_ECDH
|
||||||
# include "../include/secp256k1_ecdh.h"
|
# include "../include/secp256k1_ecdh.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user