From 183733f882056ea3e6fe95e665b85fcc6a45dcb4 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 10 Feb 2016 03:54:45 +0100 Subject: [PATCH] Make sure to always include string.h so memset gets declared. memset() is used by CRYPTO_secure_zalloc(), which isn't hidden away behind IMPLEMENTED. Reviewed-by: Rich Salz --- crypto/mem_sec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index 6760cf40fc..196c2457ad 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -13,10 +13,11 @@ #include #include +#include + #if defined(OPENSSL_SYS_LINUX) || defined(OPENSSL_SYS_UNIX) # define IMPLEMENTED # include -# include # include # include # include