From ce3ca605a3d729c6bf585bcded90e435059a9cf3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 6 Nov 2017 23:42:40 +0100 Subject: [PATCH] Better poison --- src/libsodium/include/sodium/private/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/include/sodium/private/common.h b/src/libsodium/include/sodium/private/common.h index a3983818..ed026909 100644 --- a/src/libsodium/include/sodium/private/common.h +++ b/src/libsodium/include/sodium/private/common.h @@ -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