[openssl] OpenSSL_1_1_1-stable update

bernd.edlinger at hotmail.de bernd.edlinger at hotmail.de
Thu Mar 7 21:39:42 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  35eecd173ea2baefdfa53e00e60cd0ba170250fe (commit)
      from  acd9b16b01ad4bda015102d9ce1fa34efa15359d (commit)


- Log -----------------------------------------------------------------
commit 35eecd173ea2baefdfa53e00e60cd0ba170250fe
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)
    
    (cherry picked from commit 596521f48826892ddd62322726f6f2a2a52db652)

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

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 556688f..7d94b82 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