ossl_asn1_do_lock
int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
if (ossl_asn1_do_lock(pval, -1, it) != 0) {
if (ossl_asn1_do_lock(pval, 0, it) < 0) {