{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1755804988,
"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":"64d9ba61574c51fbce34bac2ba6f5996",
"commit": {"type":"commit",
"time": 1464543419,
"time_ofs": 18446744073709551376,
"oid_tree": { "oid": "f75cf3b645d7932c0d8e21358f9f052bdfa2aedf", "alias": []},
"oid":{ "oid": "6f0cc2a6f8a7da5b68e5665589f307683a9a85f4", "alias": []},
"msg": "cherry pick pr-512 changes",
"sig_commit": { "git_time": { "time": 1464543419, "offset": -240 }, "name": "Rich Salz", "email": "rsalz@openssl.org", "md5": "3ed6b9cf7bbe83902a044f6590346d26" },
"sig_author": { "git_time": { "time": 1452662847, "offset": -480 }, "name": "Joey Yandle", "email": "xoloki@gmail.com", "md5": "59770b1f831b496e453dc2723371d088" }},
"body": "cherry pick pr-512 changes\n\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\nReviewed-by: Tim Hudson \u003ctjh@openssl.org\u003e\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/1079)"
,
"diff": "diff --git a/apps/winrand.c b/apps/winrand.c\nindex e65605e..27d6037 100644\n--- a/apps/winrand.c\n+++ b/apps/winrand.c\n@@ -88,13 +88,5 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)\n return 0;\n }\n \n- if (RAND_event(iMsg, wParam, lParam) \u003d\u003d 1 \u0026\u0026 seeded \u003d\u003d 0) {\n- seeded \u003d 1;\n- if (RAND_write_file(filename) \u003c\u003d 0)\n- MessageBox(hwnd, \u0022Couldn't write random file!\u0022,\n- \u0022OpenSSL\u0022, MB_OK | MB_ICONERROR);\n- PostQuitMessage(0);\n- }\n-\n return DefWindowProc(hwnd, iMsg, wParam, lParam);\n }\ndiff --git a/doc/crypto/RAND_add.pod b/doc/crypto/RAND_add.pod\nindex b2ffcb6..fd830b4 100644\n--- a/doc/crypto/RAND_add.pod\n+++ b/doc/crypto/RAND_add.pod\n@@ -2,7 +2,7 @@\n \n \u003dhead1 NAME\n \n-RAND_add, RAND_seed, RAND_status, RAND_event - add\n+RAND_add, RAND_seed, RAND_status - add\n entropy to the PRNG\n \n \u003dhead1 SYNOPSIS\n@@ -15,8 +15,6 @@ entropy to the PRNG\n \n int RAND_status(void);\n \n- int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam);\n-\n \u003dhead1 DESCRIPTION\n \n RAND_add() mixes the B\u003cnum\u003e bytes at B\u003cbuf\u003e into the PRNG state. Thus,\n@@ -41,16 +39,9 @@ or L\u003cRAND_load_file(3)\u003e.\n \n RAND_seed() is equivalent to RAND_add() when B\u003cnum \u003d\u003d entropy\u003e.\n \n-RAND_event() collects the entropy from Windows events such as mouse\n-movements and other user interaction. It should be called with the\n-B\u003ciMsg\u003e, B\u003cwParam\u003e and B\u003clParam\u003e arguments of I\u003call\u003e messages sent to\n-the window procedure. It will estimate the entropy contained in the\n-event message (if any), and add it to the PRNG. The program can then\n-process the messages as usual.\n-\n \u003dhead1 RETURN VALUES\n \n-RAND_status() and RAND_event() return 1 if the PRNG has been seeded\n+RAND_status() returns 1 if the PRNG has been seeded\n with enough data, 0 otherwise.\n \n The other functions do not return values.\ndiff --git a/doc/crypto/rand.pod b/doc/crypto/rand.pod\nindex 9e3a5a0..78a9d57 100644\n--- a/doc/crypto/rand.pod\n+++ b/doc/crypto/rand.pod\n@@ -27,9 +27,6 @@ rand - pseudo-random number generator\n const RAND_METHOD *RAND_get_rand_method(void);\n RAND_METHOD *RAND_OpenSSL(void);\n \n- /* For Win32 only */\n- int RAND_event(UINT, WPARAM, LPARAM);\n-\n Deprecated:\n \n #if OPENSSL_API_COMPAT \u003c 0x10100000L\ndiff --git a/include/openssl/rand.h b/include/openssl/rand.h\nindex 8b0188d..4d7e6ea 100644\n--- a/include/openssl/rand.h\n+++ b/include/openssl/rand.h\n@@ -67,8 +67,6 @@ int RAND_poll(void);\n \n # if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)\n \n-int RAND_event(UINT, WPARAM, LPARAM);\n-\n # endif\n \n /* BEGIN ERROR CODES */\n","s":{"c":1755804988,"u": 2416}}
],"g": 3228,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}