{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752320706,
"reponame":"openssl",
"desc":"OpenSSL",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"02a1b8d9fcdbf2b74c9735373a2df98b",
"commit": {"type":"commit",
"time": 1554208199,
"time_ofs": 120,
"oid_tree": { "oid": "b91359d41baee63799afa010805ec0ae013c86bf", "alias": []},
"oid":{ "oid": "5a87dd1d34e6f7dd9c4cef45b88f12d84e050215", "alias": []},
"msg": "rand_win.c: loosen version requirements for BCryptGenRandom",
"sig_commit": { "git_time": { "time": 1554208199, "offset": 120 }, "name": "Dr. Matthias St. Pierre", "email": "Matthias.St.Pierre@ncp-e.com", "md5": "7d700d548b38974b2492f8ff219793b3" },
"sig_author": { "git_time": { "time": 1554201346, "offset": 120 }, "name": "Dr. Matthias St. Pierre", "email": "Matthias.St.Pierre@ncp-e.com", "md5": "7d700d548b38974b2492f8ff219793b3" }},
"body": "rand_win.c: loosen version requirements for BCryptGenRandom\n\nBCryptGenRandom() is available for Windows Vista and newer versions, see\nhttps://docs.microsoft.com/en-us/windows/desktop/api/bcrypt/nf-bcrypt-bcryptgenrandom\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/8639)\n\n(cherry picked from commit 2621e6405d7f4765bc57c86ec441129e7d367f14)\n"
,
"diff": "diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c\nindex 581a2f1..f21c894 100644\n--- a/crypto/rand/rand_win.c\n+++ b/crypto/rand/rand_win.c\n@@ -19,8 +19,8 @@\n # endif\n \n # include \u003cwindows.h\u003e\n-/* On Windows 7 or higher use BCrypt instead of the legacy CryptoAPI */\n-# if defined(_MSC_VER) \u0026\u0026 defined(_WIN32_WINNT) \u0026\u0026 _WIN32_WINNT \u003e\u003d 0x0601\n+/* On Windows Vista or higher use BCrypt instead of the legacy CryptoAPI */\n+# if defined(_MSC_VER) \u0026\u0026 defined(_WIN32_WINNT) \u0026\u0026 _WIN32_WINNT \u003e\u003d 0x0600\n # define USE_BCRYPTGENRANDOM\n # endif\n \n","s":{"c":1752320706,"u": 37673}}
],"g": 39212,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}