| 399 | } |
| 400 | |
| 401 | md_json_t *md_to_public_json(const md_t *md, apr_pool_t *p) |
| 402 | { |
| 403 | md_json_t *json = md_to_json(md, p); |
| 404 | if (md_json_has_key(json, MD_KEY_EAB, MD_KEY_HMAC, NULL)) { |
| 405 | md_json_sets("***", json, MD_KEY_EAB, MD_KEY_HMAC, NULL); |
| 406 | } |
| 407 | return json; |
| 408 | } |
| 409 | |
| 410 | typedef struct { |
| 411 | const char *name; |
no test coverage detected