Better poison

This commit is contained in:
Frank Denis 2017-11-06 23:42:40 +01:00
parent e73e2ee2c2
commit ce3ca605a3

View File

@ -234,6 +234,7 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
#endif #endif
#ifdef HAVE_LIBCTGRIND #ifdef HAVE_LIBCTGRIND
extern void ct_poison(const void *, size_t);
# define POISON(X, L) ct_poison((X), (L)) # define POISON(X, L) ct_poison((X), (L))
#else #else
# define POISON(X, L) (void) 0 # define POISON(X, L) (void) 0