Lines Matching refs:rsp
108 OCSP_RESPONSE *rsp = NULL; in OCSP_response_create() local
110 if (!(rsp = OCSP_RESPONSE_new())) goto err; in OCSP_response_create()
111 if (!(ASN1_ENUMERATED_set(rsp->responseStatus, status))) goto err; in OCSP_response_create()
112 if (!bs) return rsp; in OCSP_response_create()
113 if (!(rsp->responseBytes = OCSP_RESPBYTES_new())) goto err; in OCSP_response_create()
114 rsp->responseBytes->responseType = OBJ_nid2obj(NID_id_pkix_OCSP_basic); in OCSP_response_create()
115 if (!ASN1_item_pack(bs, ASN1_ITEM_rptr(OCSP_BASICRESP), &rsp->responseBytes->response)) in OCSP_response_create()
117 return rsp; in OCSP_response_create()
119 if (rsp) OCSP_RESPONSE_free(rsp); in OCSP_response_create()
124 OCSP_SINGLERESP *OCSP_basic_add1_status(OCSP_BASICRESP *rsp, in OCSP_basic_add1_status() argument
134 if(!rsp->tbsResponseData->responses && in OCSP_basic_add1_status()
135 !(rsp->tbsResponseData->responses = sk_OCSP_SINGLERESP_new_null())) in OCSP_basic_add1_status()
188 if (!(sk_OCSP_SINGLERESP_push(rsp->tbsResponseData->responses, single))) in OCSP_basic_add1_status()