{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752656290,
"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":"56019d9333b5811fcbee8d1a3a39800a",
"commit": {"type":"commit",
"time": 1553853726,
"time_ofs": 0,
"oid_tree": { "oid": "829953d0fb3eec3b8d59f403b52747b35dfa8cd7", "alias": []},
"oid":{ "oid": "916704b3c6256955e6df5141437a1a809d3539d8", "alias": []},
"msg": "Avoid linking error for InitializeCriticalSectionAndSpinCount(). Replace it with InitializeCri",
"sig_commit": { "git_time": { "time": 1553853726, "offset": 0 }, "name": "Matt Caswell", "email": "matt@openssl.org", "md5": "10f7b441a32d5790efad9fc68cae4af2" },
"sig_author": { "git_time": { "time": 1553670931, "offset": 540 }, "name": "Soujyu Tanaka", "email": "soujyu.tanaka@access-company.com", "md5": "f13b4f64d5898fb761a448bbba408a53" }},
"body": "Avoid linking error for InitializeCriticalSectionAndSpinCount().\nReplace it with InitializeCriticalSection()\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/8596)\n\n(cherry picked from commit 09305a7d0afcf9ae2d5be459ad6e6433ea85f913)\n"
,
"diff": "diff --git a/crypto/threads_win.c b/crypto/threads_win.c\nindex d8fdfb7..5f44259 100644\n--- a/crypto/threads_win.c\n+++ b/crypto/threads_win.c\n@@ -24,11 +24,15 @@ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)\n return NULL;\n }\n \n+#if !defined(_WIN32_WCE)\n /* 0x400 is the spin count value suggested in the documentation */\n if (!InitializeCriticalSectionAndSpinCount(lock, 0x400)) {\n OPENSSL_free(lock);\n return NULL;\n }\n+#else\n+ InitializeCriticalSection(lock);\n+#endif\n \n return lock;\n }\n","s":{"c":1752656290,"u": 61861}}
],"g": 62851,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}