Lines Matching refs:cert_chain_ctx
596 PCCERT_CHAIN_CONTEXT cert_chain_ctx = NULL; in win_cert_verify_callback() local
649 …tCertificateChain(NULL, cert_ctx, NULL, NULL, &chain_params, chain_flags, NULL, &cert_chain_ctx)) { in win_cert_verify_callback()
656 if (cert_chain_ctx->cChain > 0 && cert_chain_ctx->rgpChain[0]->cElement > 0 in win_cert_verify_callback()
657 …&& (cert_chain_ctx->rgpChain[0]->rgpElement[0]->TrustStatus.dwInfoStatus & CERT_TRUST_IS_SELF_SIGN… in win_cert_verify_callback()
664 for (i = 0; i < cert_chain_ctx->cChain; i++) { in win_cert_verify_callback()
665 if (cert_chain_ctx->rgpChain[i]->cElement > allowed_depth) { in win_cert_verify_callback()
666 CertFreeCertificateChain(cert_chain_ctx); in win_cert_verify_callback()
692 CertFreeCertificateChain(cert_chain_ctx); in win_cert_verify_callback()
703 CertFreeCertificateChain(cert_chain_ctx); in win_cert_verify_callback()
715 CertFreeCertificateChain(cert_chain_ctx); in win_cert_verify_callback()
727 …verify_result = CertVerifyCertificateChainPolicy(CERT_CHAIN_POLICY_SSL, cert_chain_ctx, &chain_pol… in win_cert_verify_callback()
730 CertFreeCertificateChain(cert_chain_ctx); in win_cert_verify_callback()