Define a POISON macro

This commit is contained in:
Frank Denis
2017-11-06 23:41:50 +01:00
parent e7d85070dc
commit e73e2ee2c2
@@ -233,4 +233,10 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
# include <intrin.h>
#endif
#ifdef HAVE_LIBCTGRIND
# define POISON(X, L) ct_poison((X), (L))
#else
# define POISON(X, L) (void) 0
#endif
#endif