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

Function md_will_renew_cert

modules/md/mod_md_drive.c:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234int md_will_renew_cert(const md_t *md)
235{
236 if (md->renew_mode == MD_RENEW_MANUAL) {
237 return 0;
238 }
239 else if (md->renew_mode == MD_RENEW_AUTO && md->cert_files && md->cert_files->nelts) {
240 return 0;
241 }
242 return 1;
243}
244
245static apr_time_t next_run_default(md_renew_ctx_t *dctx)
246{

Callers 2

process_drive_jobFunction · 0.85
init_cert_watch_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected