CRYPTO_UNLOCK
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,NULL,0)
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,NULL,0)
else if (mode & CRYPTO_UNLOCK)
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE, type, file, line);