summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/nsap_addr.c
diff options
context:
space:
mode:
authorguenther <>2009-12-15 18:19:06 +0000
committerguenther <>2009-12-15 18:19:06 +0000
commit0ac52e6e4d02749d85405ea08400d4b7e6db2ca1 (patch)
tree4f708f2e07feb88d20f5fc86fd6a5b8aaaa620f7 /src/lib/libc/net/nsap_addr.c
parente0fd73fcca39e03d57dc0a553e943e84cda61e30 (diff)
downloadopenbsd-0ac52e6e4d02749d85405ea08400d4b7e6db2ca1.tar.gz
openbsd-0ac52e6e4d02749d85405ea08400d4b7e6db2ca1.tar.bz2
openbsd-0ac52e6e4d02749d85405ea08400d4b7e6db2ca1.zip
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@
Diffstat (limited to 'src/lib/libc/net/nsap_addr.c')
0 files changed, 0 insertions, 0 deletions