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

Function si_val_ocsp_activity

modules/md/mod_md_status.c:814–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814static void si_val_ocsp_activity(status_ctx *ctx, md_json_t *mdj, const status_info *info)
815{
816 apr_time_t t;
817 const char *prefix = ctx->prefix;
818
819 (void)info;
820 if (!HTML_STATUS(ctx)) {
821 ctx->prefix = apr_pstrcat(ctx->p, prefix, info->label, NULL);
822 }
823 t = md_json_get_time(mdj, MD_KEY_RENEW_AT, NULL);
824 print_time(ctx, "Refresh", t);
825 print_job_summary(ctx, mdj, MD_KEY_RENEWAL, ": ");
826 if (!HTML_STATUS(ctx)) {
827 ctx->prefix = prefix;
828 }
829}
830
831static const status_info ocsp_status_infos[] = {
832 { "Domain", MD_KEY_DOMAIN, NULL },

Callers

nothing calls this directly

Calls 3

md_json_get_timeFunction · 0.85
print_timeFunction · 0.85
print_job_summaryFunction · 0.85

Tested by

no test coverage detected