Lines Matching refs:cert_chain_ctx
609 PCCERT_CHAIN_CONTEXT cert_chain_ctx = NULL; in php_openssl_win_cert_verify_callback() local
667 …tCertificateChain(NULL, cert_ctx, NULL, NULL, &chain_params, chain_flags, NULL, &cert_chain_ctx)) { in php_openssl_win_cert_verify_callback()
674 if (cert_chain_ctx->cChain > 0 && cert_chain_ctx->rgpChain[0]->cElement > 0 in php_openssl_win_cert_verify_callback()
675 …&& (cert_chain_ctx->rgpChain[0]->rgpElement[0]->TrustStatus.dwInfoStatus & CERT_TRUST_IS_SELF_SIGN… in php_openssl_win_cert_verify_callback()
682 for (i = 0; i < cert_chain_ctx->cChain; i++) { in php_openssl_win_cert_verify_callback()
683 if (cert_chain_ctx->rgpChain[i]->cElement > allowed_depth) { in php_openssl_win_cert_verify_callback()
684 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()
710 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()
721 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()
733 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()
745 …verify_result = CertVerifyCertificateChainPolicy(CERT_CHAIN_POLICY_SSL, cert_chain_ctx, &chain_pol… in php_openssl_win_cert_verify_callback()
748 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()