diff options
author | anton <> | 2022-04-03 16:52:50 +0000 |
---|---|---|
committer | anton <> | 2022-04-03 16:52:50 +0000 |
commit | a46afc15b79c1deda49ec8ee141c1c5cdcd050d9 (patch) | |
tree | 7a7d446722df0be753992106ccaed79ee8205b5e /src/lib/libcrypto/ecdsa/ecs_ossl.c | |
parent | 3d8a2499d7a0a70420723f21fbf735e079a6e74c (diff) | |
download | openbsd-a46afc15b79c1deda49ec8ee141c1c5cdcd050d9.tar.gz openbsd-a46afc15b79c1deda49ec8ee141c1c5cdcd050d9.tar.bz2 openbsd-a46afc15b79c1deda49ec8ee141c1c5cdcd050d9.zip |
Initialize the mutex before making us of it from many threads. Prevents
a race in which one thread is currently initializing the mutex which is
not an atomic operation whereas another thread tries to use it too
early.
With and ok schwarze@
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_ossl.c')
0 files changed, 0 insertions, 0 deletions