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