summaryrefslogtreecommitdiffhomepage
path: root/kdf_test.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-17 21:26:53 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-17 21:31:42 +0200
commit2e772194cf7cd7c37d24364a9f9d407dc96a25e8 (patch)
treeaa4c543d4ed445d72e2bc3bc722659087ede01c5 /kdf_test.go
parent85b2378a07126fb64460f0a23e7a150d0e63d909 (diff)
tun: only call .Fd() once
Doing so tends to make the tunnel blocking, so we only retrieve it once before we call SetNonblock, and then cache the result.
Diffstat (limited to 'kdf_test.go')
0 files changed, 0 insertions, 0 deletions