CRYPTO_LOCK_SSL_CERT
i = CRYPTO_add(&c->references, -1, CRYPTO_LOCK_SSL_CERT);
CRYPTO_add(&f->cert->references, 1, CRYPTO_LOCK_SSL_CERT);