Correct two problems, found by Martin Kochanski <cardbox@easynet.co.uk>:
authorRichard Levitte <levitte@openssl.org>
Thu, 7 Aug 2003 11:57:21 +0000 (11:57 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 7 Aug 2003 11:57:21 +0000 (11:57 +0000)
commit30e42692410fd0c199318d5bb4b3f338036fd5f0
treeccdee94855079dda39306c6ed4fb75deb26a12ad
parent59315df637d1cdc2b6b9ea750363706fbf1fcc25
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