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

Function copy_challenge_error

modules/md/md_acme_authz.c:101–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99} error_ctx_t;
100
101static int copy_challenge_error(void *baton, size_t index, md_json_t *json)
102{
103 error_ctx_t *ctx = baton;
104
105 (void)index;
106 if (md_json_has_key(json, MD_KEY_ERROR, NULL)) {
107 ctx->authz->error_type = md_json_dups(ctx->p, json, MD_KEY_ERROR, MD_KEY_TYPE, NULL);
108 ctx->authz->error_detail = md_json_dups(ctx->p, json, MD_KEY_ERROR, MD_KEY_DETAIL, NULL);
109 ctx->authz->error_subproblems = md_json_dupj(ctx->p, json, MD_KEY_ERROR, MD_KEY_SUBPROBLEMS, NULL);
110 }
111 return 1;
112}
113
114apr_status_t md_acme_authz_update(md_acme_authz_t *authz, md_acme_t *acme, apr_pool_t *p)
115{

Callers

nothing calls this directly

Calls 3

md_json_has_keyFunction · 0.85
md_json_dupsFunction · 0.85
md_json_dupjFunction · 0.85

Tested by

no test coverage detected