Lines Matching refs:rid
253 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid,
263 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL)
281 pollRep = ossl_cmp_pollrepcontent_get0_pollrep(prc, rid);
554 * |rid| must be OSSL_CMP_CERTREQID_NONE if not available, namely for p10cr
560 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid,
583 crep = ossl_cmp_certrepmessage_get0_certresponse(crepmsg, rid);
588 if (rid == OSSL_CMP_CERTREQID_NONE) { /* used for OSSL_CMP_PKIBODY_P10CR */
589 rid = ossl_cmp_asn1_get_int(crep->certReqId);
590 if (rid != OSSL_CMP_CERTREQID_NONE) {
599 if ((ret = poll_for_response(ctx, sleep, rid, resp, checkAfter)) != 0) {
654 if (!ossl_cmp_exchange_certConf(ctx, rid, fail_info, txt))
696 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID;
713 res = poll_for_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter);
717 res = cert_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter,
738 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID;
750 if (cert_response(ctx, 1 /* sleep */, rid, &rep, NULL, req_type, rep_type)