summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-05-06 22:55:27 +0000
committermillert <millert@openbsd.org>2014-05-06 22:55:27 +0000
commit17a1748a67501316f1ac5cb67295abb7e4366240 (patch)
treee26a5b58b7ed5ce4b9f85cb5b089e348e7e8730f /lib/libc/regex/regexec.c
parentsmall fix from mancha1. currently unused file, but no harm fixing it. (diff)
downloadwireguard-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