mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 19:57:13 +09:00
Better poison
This commit is contained in:
@@ -234,6 +234,7 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBCTGRIND
|
||||
extern void ct_poison(const void *, size_t);
|
||||
# define POISON(X, L) ct_poison((X), (L))
|
||||
#else
|
||||
# define POISON(X, L) (void) 0
|
||||
|
||||
Reference in New Issue
Block a user