diff options
-rw-r--r-- | crypto/mem_sec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index afd0c26bea..8f4ae9c94a 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -21,7 +21,7 @@ #include <string.h> /* e_os.h includes unistd.h, which defines _POSIX_VERSION */ -#if defined(OPENSSL_SYS_UNIX) \ +#if !defined(OPENSSL_NO_SECURE_MEMORY) && defined(OPENSSL_SYS_UNIX) \ && defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L # define IMPLEMENTED # include <stdlib.h> |