Lines Matching refs:resp
107 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
115 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp);
138 OCSP_RESPONSE *resp = NULL;
693 resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
694 send_ocsp_response(cbio, resp);
764 i = make_ocsp_response(&resp, req, rdb, rca_cert, rsigner, rkey, rother, rflags, nmin, ndays);
766 send_ocsp_response(cbio, resp);
771 resp = process_responder(bio_err, req, host, path,
773 if (!resp)
788 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL);
790 if(!resp)
813 i2d_OCSP_RESPONSE_bio(derbio, resp);
817 i = OCSP_response_status(resp);
829 if (resp_text) OCSP_RESPONSE_print(out, resp, 0);
843 OCSP_RESPONSE_free(resp);
844 resp = NULL;
861 bs = OCSP_response_get1_basic(resp);
915 OCSP_RESPONSE_free(resp);
1053 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
1067 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
1093 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR,
1147 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs);
1263 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp)
1270 BIO_printf(cbio, http_resp, i2d_OCSP_RESPONSE(resp, NULL));
1271 i2d_OCSP_RESPONSE_bio(cbio, resp);
1380 OCSP_RESPONSE *resp = NULL;
1410 resp = query_responder(err, cbio, path, headers, req, req_timeout);
1411 if (!resp)
1418 return resp;