Lines Matching refs:chain
19 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain);
32 STACK_OF(X509) *untrusted, STACK_OF(X509) **chain) in ocsp_verify_signer()
68 if (chain != NULL) in ocsp_verify_signer()
69 *chain = X509_STORE_CTX_get1_chain(ctx); in ocsp_verify_signer()
102 STACK_OF(X509) *chain = NULL; in OCSP_basic_verify()
123 ret = ocsp_verify_signer(signer, 1, st, flags, untrusted, &chain); in OCSP_basic_verify()
134 ret = ocsp_check_issuer(bs, chain); in OCSP_basic_verify()
147 x = sk_X509_value(chain, sk_X509_num(chain) - 1); in OCSP_basic_verify()
157 OSSL_STACK_OF_X509_free(chain); in OCSP_basic_verify()
222 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain) in ocsp_check_issuer() argument
229 if (sk_X509_num(chain) <= 0) { in ocsp_check_issuer()
241 signer = sk_X509_value(chain, 0); in ocsp_check_issuer()
243 if (sk_X509_num(chain) > 1) { in ocsp_check_issuer()
244 sca = sk_X509_value(chain, 1); in ocsp_check_issuer()