| 284 | /* order finalization */ |
| 285 | |
| 286 | static apr_status_t on_init_csr_req(md_acme_req_t *req, void *baton) |
| 287 | { |
| 288 | md_proto_driver_t *d = baton; |
| 289 | md_acme_driver_t *ad = d->baton; |
| 290 | md_json_t *jpayload; |
| 291 | |
| 292 | jpayload = md_json_create(req->p); |
| 293 | md_json_sets(ad->csr_der_64, jpayload, MD_KEY_CSR, NULL); |
| 294 | |
| 295 | return md_acme_req_body_init(req, jpayload); |
| 296 | } |
| 297 | |
| 298 | static apr_status_t csr_req(md_acme_t *acme, const md_http_response_t *res, void *baton) |
| 299 | { |
nothing calls this directly
no test coverage detected