Correct two problems, found by Martin Kochanski <cardbox@easynet.co.uk>:
authorRichard Levitte <levitte@openssl.org>
Thu, 7 Aug 2003 11:57:45 +0000 (11:57 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 7 Aug 2003 11:57:45 +0000 (11:57 +0000)
commit782576dbec02ed8953ae897385b356102c2cf055
treeb0ce2f10b251a37b0795f329fb47218b39c7052d
parente9dcc3fb34162f3bacd7ba3e150b74d5730c6405
Correct two problems, found by Martin Kochanski <cardbox@easynet.co.uk>:

1. CreateToolhelp32Snapshot returns INVALID_HANDLE_VALUE, not NULL, on error.
2. On Windows CE, a snapshot handle is closed with CloseToolhelp32Snapshot,
   not CloseHandle.
crypto/rand/rand_win.c