Home | History | Annotate | Download | only in apps

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);
139 OCSP_RESPONSE *resp = NULL;
703 resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
704 send_ocsp_response(cbio, resp);
774 i = make_ocsp_response(&resp, req, rdb, rca_cert, rsigner, rkey, rother, rflags, nmin, ndays);
776 send_ocsp_response(cbio, resp);
781 resp = process_responder(bio_err, req, host, path,
783 if (!resp)
798 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL);
800 if(!resp)
823 i2d_OCSP_RESPONSE_bio(derbio, resp);
827 i = OCSP_response_status(resp);
839 if (resp_text) OCSP_RESPONSE_print(out, resp, 0);
853 OCSP_RESPONSE_free(resp);
854 resp = NULL;
871 bs = OCSP_response_get1_basic(resp);
925 OCSP_RESPONSE_free(resp);
1063 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
1077 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
1103 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR,
1157 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs);
1273 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp)
1280 BIO_printf(cbio, http_resp, i2d_OCSP_RESPONSE(resp, NULL));
1281 i2d_OCSP_RESPONSE_bio(cbio, resp);
1390 OCSP_RESPONSE *resp = NULL;
1420 resp = query_responder(err, cbio, path, headers, req, req_timeout);
1421 if (!resp)
1428 return resp;