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 <rsalz@openssl.org>
This commit is contained in:
parent
5abb2fc964
commit
183733f882
1 changed files with 2 additions and 1 deletions
|
@ -13,10 +13,11 @@
|
|||
#include <openssl/crypto.h>
|
||||
#include <e_os.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(OPENSSL_SYS_LINUX) || defined(OPENSSL_SYS_UNIX)
|
||||
# define IMPLEMENTED
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <assert.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/types.h>
|
||||
|
|
Loading…
Reference in a new issue