Lines Matching refs:cid
22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
269 OCSP_CERTID *tmpid, *cid;
278 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
284 if (OCSP_id_issuer_cmp(cid, tmpid)) {
287 cid->hashAlgorithm.algorithm))
295 *ret = cid;
303 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
310 if (cid != NULL) {
316 OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0);
335 if (cid->issuerNameHash.length != mdlen ||
336 cid->issuerKeyHash.length != mdlen) {
343 if (memcmp(md, cid->issuerNameHash.data, mdlen) != 0) {
351 ret = memcmp(md, cid->issuerKeyHash.data, mdlen) == 0;