69 static int ocsp_check_delegated(
X509 *x,
int flags);
82 ret = ocsp_find_signer(&signer, bs, certs, st, flags);
117 chain = X509_STORE_CTX_get1_chain(&ctx);
135 ret = ocsp_check_issuer(bs, chain, flags);
138 if (ret != 0)
goto end;
167 if ((signer = ocsp_find_signer_sk(certs, rid)))
173 (signer = ocsp_find_signer_sk(bs->certs, rid)))
199 keyhash =
id->value.byKey->data;
227 i = ocsp_check_ids(sresp, &caid);
230 if (i <= 0)
return i;
237 i = ocsp_match_issuerid(sca, caid, sresp);
242 if (ocsp_check_delegated(signer, flags))
return 1;
248 return ocsp_match_issuerid(signer, caid, sresp);
273 for (i = 1; i < idcount; i++)
336 ret = ocsp_match_issuerid(cert, tmpid, NULL);
337 if (ret <= 0)
return ret;
344 static int ocsp_check_delegated(
X509 *x,
int flags)
378 ret = ocsp_req_find_signer(&signer, req, nm, certs, store, flags);
432 if(!(flags & OCSP_NOINTERN))