diff options
author | 2014-05-06 22:55:27 +0000 | |
---|---|---|
committer | 2014-05-06 22:55:27 +0000 | |
commit | 17a1748a67501316f1ac5cb67295abb7e4366240 (patch) | |
tree | e26a5b58b7ed5ce4b9f85cb5b089e348e7e8730f /lib/libc/regex/regexec.c | |
parent | small fix from mancha1. currently unused file, but no harm fixing it. (diff) | |
download | wireguard-openbsd-17a1748a67501316f1ac5cb67295abb7e4366240.tar.xz wireguard-openbsd-17a1748a67501316f1ac5cb67295abb7e4366240.zip |
We don't really need uniform distribution for mktemp(3) so use
arc4random_buf() to avoid lots of arc4random() calls with a getpid()
syscall for each one. We fetch 32 bytes of random data at a time
which can handle up to 16 Xs. 16 Xs should be enough for anyone.
Requested and OK deraadt@
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions