Remove use of CRYPTO_LOCK_INIT in init code
authorMatt Caswell <matt@openssl.org>
Mon, 7 Mar 2016 14:39:22 +0000 (14:39 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Mar 2016 17:17:21 +0000 (17:17 +0000)
commitc292b105b1d0a627091480d3e4f6122b22a46385
tree0670059ef83754e4d1c051bf54e86e45571cf294
parenta072ed0c882caa5c0b1742262ef7f4aa1e0e04a5
Remove use of CRYPTO_LOCK_INIT in init code

Swap the use of CRYPTO_LOCK_INIT in the init code to use the new threading
API mechanism for locking.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/init.c
crypto/lock.c
include/openssl/crypto.h