Home | History | Annotate | Download | only in ocsp

Lines Matching defs:cid

68 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, STACK_OF(OCSP_SINGLERESP) *sresp);
259 OCSP_CERTID *tmpid, *cid;
269 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
277 if (OCSP_id_issuer_cmp(cid, tmpid))
281 cid->hashAlgorithm->algorithm))
289 *ret = cid;
294 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
298 if(cid)
304 if (!(dgst = EVP_get_digestbyobj(cid->hashAlgorithm->algorithm)))
313 if ((cid->issuerNameHash->length != mdlen) ||
314 (cid->issuerKeyHash->length != mdlen))
319 if (memcmp(md, cid->issuerNameHash->data, mdlen))
322 if (memcmp(md, cid->issuerKeyHash->data, mdlen))