Define a POISON macro

This commit is contained in:
Frank Denis 2017-11-06 23:37:31 +01:00
parent e7d85070dc
commit e73e2ee2c2

View File

@ -233,4 +233,10 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
# include <intrin.h> # include <intrin.h>
#endif #endif
#ifdef HAVE_LIBCTGRIND
# define POISON(X, L) ct_poison((X), (L))
#else
# define POISON(X, L) (void) 0
#endif
#endif #endif