aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cookie.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-18 20:26:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-18 20:26:40 +0200
commit0913f1c8c45954e78f48806fe3d570b053fecd38 (patch)
treed53bd7601b71dc318bfe91543f1eb18c85c80c9a /src/cookie.c
parentqemu: bump default kernel (diff)
downloadwireguard-monolithic-historical-0913f1c8c45954e78f48806fe3d570b053fecd38.tar.xz
wireguard-monolithic-historical-0913f1c8c45954e78f48806fe3d570b053fecd38.zip
noise: take locks for ss precomputation
Usually this is called from handshake_init, where locking doesn't matter because nothing references it yet, but it's also called when changing the device private key, so it's probably a good thing to not process a handshake with a ss precomputation that's part old and part new.
Diffstat (limited to 'src/cookie.c')
0 files changed, 0 insertions, 0 deletions