diff options
author | Joey Yandle <xoloki@gmail.com> | 2016-01-12 21:27:27 -0800 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-29 13:36:59 -0400 |
commit | 6f0cc2a6f8a7da5b68e5665589f307683a9a85f4 (patch) | |
tree | f75cf3b645d7932c0d8e21358f9f052bdfa2aedf /apps | |
parent | 42af747925f6c40b2b5313d136c02ec8506e6470 (diff) |
cherry pick pr-512 changes
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1079)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/winrand.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/winrand.c b/apps/winrand.c index e65605e26c..27d6037576 100644 --- a/apps/winrand.c +++ b/apps/winrand.c @@ -88,13 +88,5 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) return 0; } - if (RAND_event(iMsg, wParam, lParam) == 1 && seeded == 0) { - seeded = 1; - if (RAND_write_file(filename) <= 0) - MessageBox(hwnd, "Couldn't write random file!", - "OpenSSL", MB_OK | MB_ICONERROR); - PostQuitMessage(0); - } - return DefWindowProc(hwnd, iMsg, wParam, lParam); } |