mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
mem_sec.c: portability fixup.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/5493)
This commit is contained in:
parent
9cbcea7e68
commit
014cc4b27a
@ -45,6 +45,9 @@
|
||||
#ifndef PAGE_SIZE
|
||||
# define PAGE_SIZE 4096
|
||||
#endif
|
||||
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
|
||||
# define MAP_ANON MAP_ANONYMOUS
|
||||
#endif
|
||||
|
||||
#ifdef IMPLEMENTED
|
||||
static size_t secure_mem_used;
|
||||
|
Loading…
Reference in New Issue
Block a user