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 | 2d01527aee1308f4c07652849da569825870ed14 (patch) | |
tree | 5dfdede6008dc96b1512f035f18ebf0f2733e4ea /src/timers.c | |
parent | df53a8ac4a274cd86ee99017b7670c9e0ddaa5c6 (diff) |
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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.c')
0 files changed, 0 insertions, 0 deletions