Home
last modified time | relevance | path

Searched refs:cert_chain_ctx (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/openssl/
H A Dxp_ssl.c678 PCCERT_CHAIN_CONTEXT cert_chain_ctx = NULL; in php_openssl_win_cert_verify_callback() local
734 …tCertificateChain(NULL, cert_ctx, NULL, NULL, &chain_params, chain_flags, NULL, &cert_chain_ctx)) { in php_openssl_win_cert_verify_callback()
743 if (cert_chain_ctx->cChain > 0 && cert_chain_ctx->rgpChain[0]->cElement > 0 in php_openssl_win_cert_verify_callback()
744 …&& (cert_chain_ctx->rgpChain[0]->rgpElement[0]->TrustStatus.dwInfoStatus & CERT_TRUST_IS_SELF_SIGN… in php_openssl_win_cert_verify_callback()
751 for (i = 0; i < cert_chain_ctx->cChain; i++) { in php_openssl_win_cert_verify_callback()
752 if (cert_chain_ctx->rgpChain[i]->cElement > allowed_depth) { in php_openssl_win_cert_verify_callback()
753 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()
772 …verify_result = CertVerifyCertificateChainPolicy(CERT_CHAIN_POLICY_SSL, cert_chain_ctx, &chain_pol… in php_openssl_win_cert_verify_callback()
774 CertFreeCertificateChain(cert_chain_ctx); in php_openssl_win_cert_verify_callback()

Completed in 11 milliseconds