]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg: remove key for any empty file
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 24 Jan 2017 03:20:05 +0000 (04:20 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 7 Feb 2017 11:21:22 +0000 (12:21 +0100)
commit3606898d231c7766e8271981e9d3d52310a6a43f
tree425103712d05bf9f0b0f6492b93924f5336dfa45
parent666623a82e32f82e9c165bffc691a21b4d47e739
wg: remove key for any empty file

Rather than just using /dev/null to mean key removal, match on any empty
file, so that this interface is cross platform.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/config.c
src/wg.8