diff options
author | 2014-06-19 00:44:59 +0000 | |
---|---|---|
committer | 2014-06-19 00:44:59 +0000 | |
commit | 76c93bc97fdaa23d49803c0aaf0adafe20efe0af (patch) | |
tree | 45a3096fda3af10640c41679b36ddda0beba9f4e /lib/libssl/src | |
parent | Move rs_chacha and rs_buf into the same memory page and don't mark it (diff) | |
download | wireguard-openbsd-76c93bc97fdaa23d49803c0aaf0adafe20efe0af.tar.xz wireguard-openbsd-76c93bc97fdaa23d49803c0aaf0adafe20efe0af.zip |
Some simple set_basedir() cleanup; more to come.
1) Refrain from calling set_basedir() in the -t case,
and do not attempt to strip anything from the file names in that case.
Testing individual files cannot reasonably have any notion of a base dir.
2) Remove the possibility of passing NULL to set_basedir().
It was dangerous because it was not idempotent, and it served no purpose
except closing a file descriptor right before exit(), which is pointless.
Besides, the file descriptor is likely to be removed completely, soon.
3) Make sure that /foobar isn't treated as a subdirectory of /foo;
this fixes a bug reported by espie@.
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions