diff options
author | 2017-08-26 15:55:41 +0000 | |
---|---|---|
committer | 2017-08-26 15:55:41 +0000 | |
commit | 1ed2eb27e15075851303abfad7bb9bc4bd39b7c3 (patch) | |
tree | 9605aafc26e2a0998ac855112b1231c6846198a8 /lib/libtls/tls_conninfo.c | |
parent | Remove inadvertantly included param names in (diff) | |
download | wireguard-openbsd-1ed2eb27e15075851303abfad7bb9bc4bd39b7c3.tar.xz wireguard-openbsd-1ed2eb27e15075851303abfad7bb9bc4bd39b7c3.zip |
Do not fork and exec cmp(1); instead, simply fstat(2), mmap(2), and
compare the files directly, allowing a much stricter pledge(2), at
very little cost: merely 15 additional lines of very simple code.
Suggested by George Brown <321 dot george at gmail dot com> on misc@.
Diffstat (limited to 'lib/libtls/tls_conninfo.c')
0 files changed, 0 insertions, 0 deletions