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);
263 OCSP_CERTID *tmpid, *cid;
273 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
281 if (OCSP_id_issuer_cmp(cid, tmpid))
285 cid->hashAlgorithm->algorithm))
293 *ret = cid;
298 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
302 if(cid)
308 if (!(dgst = EVP_get_digestbyobj(cid->hashAlgorithm->algorithm)))
317 if ((cid->issuerNameHash->length != mdlen) ||
318 (cid->issuerKeyHash->length != mdlen))
323 if (memcmp(md, cid->issuerNameHash->data, mdlen))
326 if (memcmp(md, cid->issuerKeyHash->data, mdlen))