Lines Matching refs:resp

63 static void make_ocsp_response(BIO *err, OCSP_RESPONSE **resp, OCSP_REQUEST *req,
74 static int send_ocsp_response(BIO *cbio, const OCSP_RESPONSE *resp);
220 OCSP_RESPONSE *resp = NULL; in ocsp_main() local
666 resp = in ocsp_main()
669 send_ocsp_response(cbio, resp); in ocsp_main()
724 make_ocsp_response(bio_err, &resp, req, rdb, rca_certs, rsigner, rkey, in ocsp_main()
727 if (resp == NULL) in ocsp_main()
730 send_ocsp_response(cbio, resp); in ocsp_main()
733 resp = process_responder(req, host, port, path, opt_proxy, opt_no_proxy, in ocsp_main()
735 if (resp == NULL) in ocsp_main()
746 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL); in ocsp_main()
748 if (resp == NULL) { in ocsp_main()
763 i2d_OCSP_RESPONSE_bio(derbio, resp); in ocsp_main()
767 i = OCSP_response_status(resp); in ocsp_main()
776 OCSP_RESPONSE_print(out, resp, 0); in ocsp_main()
789 OCSP_RESPONSE_free(resp); in ocsp_main()
790 resp = NULL; in ocsp_main()
812 bs = OCSP_response_get1_basic(resp); in ocsp_main()
869 OCSP_RESPONSE_free(resp); in ocsp_main()
1028 static void make_ocsp_response(BIO *err, OCSP_RESPONSE **resp, OCSP_REQUEST *req, in make_ocsp_response() argument
1046 *resp = in make_ocsp_response()
1074 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, in make_ocsp_response()
1121 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, in make_ocsp_response()
1143 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, NULL); in make_ocsp_response()
1152 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, in make_ocsp_response()
1158 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, bs); in make_ocsp_response()
1167 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs); in make_ocsp_response()
1215 static int send_ocsp_response(BIO *cbio, const OCSP_RESPONSE *resp) in send_ocsp_response() argument
1222 (const ASN1_VALUE *)resp); in send_ocsp_response()
1238 OCSP_RESPONSE *resp = NULL; in process_responder() local
1248 resp = (OCSP_RESPONSE *) in process_responder()
1255 if (resp == NULL) in process_responder()
1260 return resp; in process_responder()