diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-18 20:26:40 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-18 20:26:40 +0200 |
commit | 0913f1c8c45954e78f48806fe3d570b053fecd38 (patch) | |
tree | d53bd7601b71dc318bfe91543f1eb18c85c80c9a /src/cookie.c | |
parent | qemu: bump default kernel (diff) | |
download | wireguard-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