Lines Matching refs:rsp
65 OCSP_RESPONSE *rsp = NULL; in OCSP_response_create() local
67 if ((rsp = OCSP_RESPONSE_new()) == NULL) in OCSP_response_create()
69 if (!(ASN1_ENUMERATED_set(rsp->responseStatus, status))) in OCSP_response_create()
72 return rsp; in OCSP_response_create()
73 if ((rsp->responseBytes = OCSP_RESPBYTES_new()) == NULL) in OCSP_response_create()
75 rsp->responseBytes->responseType = OBJ_nid2obj(NID_id_pkix_OCSP_basic); in OCSP_response_create()
77 (bs, ASN1_ITEM_rptr(OCSP_BASICRESP), &rsp->responseBytes->response)) in OCSP_response_create()
79 return rsp; in OCSP_response_create()
81 OCSP_RESPONSE_free(rsp); in OCSP_response_create()
85 OCSP_SINGLERESP *OCSP_basic_add1_status(OCSP_BASICRESP *rsp, in OCSP_basic_add1_status() argument
96 if (rsp->tbsResponseData.responses == NULL in OCSP_basic_add1_status()
97 && (rsp->tbsResponseData.responses in OCSP_basic_add1_status()
148 if (!(sk_OCSP_SINGLERESP_push(rsp->tbsResponseData.responses, single))) in OCSP_basic_add1_status()