[openssl] master update

bernd.edlinger at hotmail.de bernd.edlinger at hotmail.de
Thu Mar 7 21:38:30 UTC 2019


The branch master has been updated
       via  596521f48826892ddd62322726f6f2a2a52db652 (commit)
      from  6855b496b205c067ecb276221c31c6212f4fdbae (commit)


- Log -----------------------------------------------------------------
commit 596521f48826892ddd62322726f6f2a2a52db652
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date:   Thu Mar 7 08:19:28 2019 +0100

    Limit DEVRANDOM_WAIT to linux
    
    Fixes #8416
    
    Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
    (Merged from https://github.com/openssl/openssl/pull/8428)

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

Summary of changes:
 e_os.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/e_os.h b/e_os.h
index 472354e..26de710 100644
--- a/e_os.h
+++ b/e_os.h
@@ -28,7 +28,9 @@
  * default, we will try to read at least one of these files
  */
 #  define DEVRANDOM "/dev/urandom", "/dev/random", "/dev/hwrng", "/dev/srandom"
-#  define DEVRANDOM_WAIT "/dev/random"
+#  ifdef __linux
+#   define DEVRANDOM_WAIT "/dev/random"
+#  endif
 # endif
 # if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD)
 /*


More information about the openssl-commits mailing list