[openssl] master update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Tue Apr 2 12:29:31 UTC 2019


The branch master has been updated
       via  2621e6405d7f4765bc57c86ec441129e7d367f14 (commit)
      from  cc8926ec8fcecae89ceab91ef753de93e49568f9 (commit)


- Log -----------------------------------------------------------------
commit 2621e6405d7f4765bc57c86ec441129e7d367f14
Author: Dr. Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Date:   Tue Apr 2 12:35:46 2019 +0200

    rand_win.c: loosen version requirements for BCryptGenRandom
    
    BCryptGenRandom() is available for Windows Vista and newer versions, see
    https://docs.microsoft.com/en-us/windows/desktop/api/bcrypt/nf-bcrypt-bcryptgenrandom
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/8639)

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

Summary of changes:
 crypto/rand/rand_win.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index 02d96a8..d5d5518 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -19,8 +19,8 @@
 # endif
 
 # include <windows.h>
-/* On Windows 7 or higher use BCrypt instead of the legacy CryptoAPI */
-# if defined(_MSC_VER) && defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0601
+/* On Windows Vista or higher use BCrypt instead of the legacy CryptoAPI */
+# if defined(_MSC_VER) && defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0600
 #  define USE_BCRYPTGENRANDOM
 # endif
 


More information about the openssl-commits mailing list