aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-18 20:51:39 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-18 20:51:39 +0200
commitcad9e5237e6a7bafbec8c9cfe43203cac79fbebf (patch)
tree50fb56140c145134318b321788f1c40fca638369 /src/compat/compat.h
parentnetlink: maintain static_identity lock over entire private key update (diff)
downloadwireguard-monolithic-historical-cad9e5237e6a7bafbec8c9cfe43203cac79fbebf.tar.xz
wireguard-monolithic-historical-cad9e5237e6a7bafbec8c9cfe43203cac79fbebf.zip
noise: wait for crng before taking locks
Otherwise, get_random_bytes_wait gets called from curve25519_generate_secret, and at the same time, a user might use the wg(8) utility, which then wants to grab a read lock for what we're write locking.
Diffstat (limited to 'src/compat/compat.h')
0 files changed, 0 insertions, 0 deletions