[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Andy Polyakov appro at openssl.org
Sat Mar 3 21:16:17 UTC 2018


The branch OpenSSL_1_1_0-stable has been updated
       via  d4d3e906824dabd98bdc6c76eab5a3abdfb7bb13 (commit)
      from  2a501ce23b47ce8c37cb098c8ce862f6f2865b03 (commit)


- Log -----------------------------------------------------------------
commit d4d3e906824dabd98bdc6c76eab5a3abdfb7bb13
Author: Andy Polyakov <appro at openssl.org>
Date:   Fri Mar 2 16:50:11 2018 +0100

    mem_sec.c: portability fixup.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Ben Kaduk <kaduk at mit.edu>
    (Merged from https://github.com/openssl/openssl/pull/5493)
    
    (cherry picked from commit 014cc4b27a7f8ed0cf23a3c9d1fdbf44e41b7993)

-----------------------------------------------------------------------

Summary of changes:
 crypto/mem_sec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c
index c36e392..8955667 100644
--- a/crypto/mem_sec.c
+++ b/crypto/mem_sec.c
@@ -44,6 +44,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;


More information about the openssl-commits mailing list