Move the _hidden_* static variables in dasync to be constructed in bind
authorMatt Caswell <matt@openssl.org>
Mon, 7 Mar 2016 11:08:02 +0000 (11:08 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Mar 2016 21:42:09 +0000 (21:42 +0000)
commit11780ac3e22e9214dd1e0b71279b5e787f203163
treef3bd059c62a52e02f4bbfff23eb57f092598c499
parentde69bc5d1af9a0c91636b8ee804fd3688e51b4eb
Move the _hidden_* static variables in dasync to be constructed in bind

The _hidden_* variables were being created on-the-fly. It is better to
create them once up front during bind to avoid any potential race
conditions.

Reviewed-by: Tim Hudson <tjh@openssl.org>
engines/e_dasync.c