summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_gen.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-14 11:55:13 +0000
committerMatt Caswell <matt@openssl.org>2016-11-14 11:55:13 +0000
commit1fda5bc435ada1c70f2d3342bb9db98ac5840dc9 (patch)
tree30e1d5e9314ad99c2d2445169a61ef53e4561310 /crypto/dsa/dsa_gen.c
parente72040c1dcd61d6669762a60924b8fa3a48c37fc (diff)
Revert "Fixed deadlock in CRYPTO_THREAD_run_once for Windows"
This reverts commit 349d1cfddcfa33d352240582a3803f2eba39d9a0. The proposed fix is incorrect. It marks the "run_once" code as having finished before it has. The intended semantics of run_once is that no threads should proceed until the code has run exactly once. With this change the "second" thread will think the run_once code has already been run and will continue, even though it is still in progress. This could result in a crash or other incorrect behaviour. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions