Skip to content

Commit 30d3d24

Browse files
committed
Update error messages to suggest msan as well
1 parent af48179 commit 30d3d24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/valgrind_ctime_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "checkmem.h"
1212

1313
#if !SECP256K1_CHECKMEM_ENABLED
14-
# error "This tool cannot be compiled without memory-checking interface (valgrind)"
14+
# error "This tool cannot be compiled without memory-checking interface (valgrind or msan)"
1515
#endif
1616

1717
#ifdef ENABLE_MODULE_ECDH
@@ -38,7 +38,7 @@ int main(void) {
3838
int ret, i;
3939

4040
if (!SECP256K1_CHECKMEM_RUNNING()) {
41-
fprintf(stderr, "This test can only usefully be run inside valgrind.\n");
41+
fprintf(stderr, "Unless compiled under msan, this test can only usefully be run inside valgrind.\n");
4242
fprintf(stderr, "Usage: libtool --mode=execute valgrind ./valgrind_ctime_test\n");
4343
return 1;
4444
}

0 commit comments

Comments
 (0)