SafeGetX509Store(store, x509st);if(!NIL_P(cert)) x509 = DupX509CertPtr(cert);/* NEED TO DUP */if(!NIL_P(chain)) x509s = ossl_x509_ary2sk(chain);#if(OPENSSL_VERSION_NUMBER >= 0x00907000L)if(X509_STORE_CTX_init(ctx, x509st, x509, x509s) !=1){ sk_X509_pop_free(x509s, ...