CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2009/12/15 11:19:06

Modified files:
        lib/libc/crypt : arc4random.c 

Log message:
No point in refreshing the pid from inside arc4_stir() when that
doesn't test it, so factor out the two places that test it into a
routine and do the refreshing there.  With this, arch4random_buf()
doesn't trigger superfluous calls to getpid() when filling large
buffers.

ok deraadt@, "looks nicer indeed" otto@

Reply via email to