MCPcopy Create free account
hub / github.com/apache/httpd / on_init_csr_req

Function on_init_csr_req

modules/md/md_acme_drive.c:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284/* order finalization */
285
286static 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
298static apr_status_t csr_req(md_acme_t *acme, const md_http_response_t *res, void *baton)
299{

Callers

nothing calls this directly

Calls 3

md_json_createFunction · 0.85
md_json_setsFunction · 0.85
md_acme_req_body_initFunction · 0.85

Tested by

no test coverage detected