Skip to content

Commit

Permalink
Update error messages to suggest msan as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Jan 11, 2023
1 parent 8e11f89 commit 6eed6c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/valgrind_ctime_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "checkmem.h"

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

#ifdef ENABLE_MODULE_ECDH
Expand All @@ -38,7 +38,7 @@ int main(void) {
int ret, i;

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

0 comments on commit 6eed6c1

Please sign in to comment.