Change RAND_poll for Unix to try a number of devices and only read
them for a short period of time (actually, poll them with select(), then read() whatever is there), which is about 10ms (hard-coded value) each. Separate Windows and Unixly code, and start on a VMS variant that currently just returns 0.
Showing
crypto/rand/rand_unix.c
0 → 100644
crypto/rand/rand_vms.c
0 → 100644
想要评论请 注册 或 登录