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

bernd.edlinger at hotmail.de bernd.edlinger at hotmail.de
Sun Jan 21 15:10:00 UTC 2018


The branch OpenSSL_1_1_0-stable has been updated
       via  42999a230f893d63a17dd9aca4f8df5c860fc836 (commit)
      from  1d01aeeca4dd672d5a4a2c3560874a9b1a7d1410 (commit)


- Log -----------------------------------------------------------------
commit 42999a230f893d63a17dd9aca4f8df5c860fc836
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date:   Fri Jan 19 14:00:14 2018 +0100

    Add a configure option to opt-out secure memory
    
    ./config -DOPENSSL_NO_SECURE_MEMORY
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5113)
    
    (cherry picked from commit 154d8c132fbe22a248f95e95ef21f1840451da62)

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

Summary of changes:
 crypto/mem_sec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c
index b26ba20..b626b3d 100644
--- a/crypto/mem_sec.c
+++ b/crypto/mem_sec.c
@@ -25,7 +25,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>


More information about the openssl-commits mailing list