Files
wireguard-go/device/device_test.go
Josh Bleecher Snyder 4bced36d32 device: fix races from changing private_key
Access keypair.sendNonce atomically.
Eliminate one unnecessary initialization to zero.

Mutate handshake.lastSentHandshake with the mutex held.

Co-authored-by: David Anderson <danderson@tailscale.com>
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-12-16 16:16:26 -08:00

7.0 KiB