CRYPTO_WRITE
CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,NULL,0)
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,NULL,0)
CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE, type, file, line);
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE, type, file, line);