summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2013-03-12 15:07:12 +0000
committermillert <millert@openbsd.org>2013-03-12 15:07:12 +0000
commit0bc28667d0d1fccd3ae9e90402b3533107fc30a8 (patch)
treee29262251347c62edd7891de32b31a1760674c67 /lib
parentAdd check that mkstemp() fails with EINVAL if the string has fewer than (diff)
downloadwireguard-openbsd-0bc28667d0d1fccd3ae9e90402b3533107fc30a8.tar.xz
wireguard-openbsd-0bc28667d0d1fccd3ae9e90402b3533107fc30a8.zip
Require that the template include at least 6 trailing Xs to match
POSIX mkstemp/mkdtemp. Check before the call to mkstemp/mkdtemp so we can give a better error message than "invalid argument". OK deraadt@ jmc@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions