guenther
253b3ff700
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@ |
15 years ago | |
---|---|---|
src | No point in refreshing the pid from inside arc4_stir() when that | 15 years ago |