x509_vfy_lookup_cert_match
X509 *x509_vfy_lookup_cert_match(X509_STORE_CTX *ctx, X509 *x);
if ((match = x509_vfy_lookup_cert_match(ctx->xsc,