Re: Build with Visual Studio 2015 errors
Posted: Thu Apr 09, 2015 9:37 am
Solved with these changes in c:\openssl\crypto\rand\rand_win.c line 544:
- Code: Select all Expand view
- // m.dwSize = sizeof(MODULEENTRY32);
if (good)
starttime = GetTickCount();
if (module_first(handle, ( LPMODULEENTRY32 ) &m))
do
RAND_add(&m, sizeof(MODULEENTRY32), 9);
while (module_next(handle, ( LPMODULEENTRY32 ) &m)
&& (!good
|| (GetTickCount() - starttime) < MAXDELAY));
if (close_snap)
close_snap(handle);
else
CloseHandle(handle);