On Apr 09, Nicolas François <nicolas.franc...@centraliens.net> wrote:

> In shadow, I had to use gettimeofday(&tv, NULL);
> srandom (tv.tv_sec + tv.tv_usec) because many passwords had to be
> generated per second and by the same process.
I implemented both this and support for /dev/urandom, the patch is
available at http://www.bofh.it/~md/debian/whois.diff .

OTOH I do not understand the point of using tv.tv_sec, I wonder if this
could be a problem on systems with 64 bit integers (whois aims to be
portable to everything UNIX and more).

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to