Lines Matching defs:resp
79 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
87 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp);
106 OCSP_RESPONSE *resp = NULL;
627 resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
628 send_ocsp_response(cbio, resp);
697 i = make_ocsp_response(&resp, req, rdb, rca_cert, rsigner, rkey, rother, rflags, nmin, ndays);
699 send_ocsp_response(cbio, resp);
737 resp = OCSP_sendreq_bio(cbio, path, req);
740 if (!resp)
754 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL);
756 if(!resp)
779 i2d_OCSP_RESPONSE_bio(derbio, resp);
783 i = OCSP_response_status(resp);
795 if (resp_text) OCSP_RESPONSE_print(out, resp, 0);
809 OCSP_RESPONSE_free(resp);
810 resp = NULL;
827 bs = OCSP_response_get1_basic(resp);
881 OCSP_RESPONSE_free(resp);
1018 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
1033 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
1099 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs);
1214 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp)
1221 BIO_printf(cbio, http_resp, i2d_OCSP_RESPONSE(resp, NULL));
1222 i2d_OCSP_RESPONSE_bio(cbio, resp);