Add compile-time error to valgrind_ctime_test

This commit is contained in:
Pieter Wuille 2022-12-06 16:41:35 -05:00
parent 0db05a770e
commit 8dc64079eb
1 changed files with 4 additions and 0 deletions

View File

@ -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