| 608 | } |
| 609 | |
| 610 | static void si_val_stapling(status_ctx *ctx, md_json_t *mdj, const status_info *info) |
| 611 | { |
| 612 | (void)info; |
| 613 | if (!md_json_getb(mdj, MD_KEY_STAPLING, NULL)) return; |
| 614 | if (HTML_STATUS(ctx)) { |
| 615 | apr_brigade_puts(ctx->bb, NULL, NULL, "on"); |
| 616 | } |
| 617 | else { |
| 618 | apr_brigade_printf(ctx->bb, NULL, NULL, "%sStapling: on\n", ctx->prefix); |
| 619 | } |
| 620 | } |
| 621 | |
| 622 | static int json_iter_val(void *data, size_t index, md_json_t *json) |
| 623 | { |
nothing calls this directly
no test coverage detected