Convert rand code to new threading API
authorMatt Caswell <matt@openssl.org>
Tue, 8 Mar 2016 11:40:05 +0000 (11:40 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Mar 2016 01:14:57 +0000 (01:14 +0000)
commit8eed7e873bb54ab46b15e6efa3aff416e02f4d7f
tree271bea07e5f37ecb103043303435e3bad495046d
parent29eed3ddb856ab1804f65d53a673078c7f5ac38d
Convert rand code to new threading API

Replace the CRYPTO_LOCK_RAND and CRYPTO_LOCK_RAND2 locks with new thread
API style locks.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/rand/md_rand.c
include/openssl/crypto.h