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

Function md_create_empty

modules/md/md_core.c:103–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103md_t *md_create_empty(apr_pool_t *p)
104{
105 md_t *md = apr_pcalloc(p, sizeof(*md));
106 if (md) {
107 md->domains = apr_array_make(p, 5, sizeof(const char *));
108 md->contacts = apr_array_make(p, 5, sizeof(const char *));
109 md->renew_mode = MD_RENEW_DEFAULT;
110 md->require_https = MD_REQUIRE_UNSET;
111 md->must_staple = -1;
112 md->transitive = -1;
113 md->acme_tls_1_domains = apr_array_make(p, 5, sizeof(const char *));
114 md->stapling = -1;
115 md->profile_mandatory = -1;
116 md->ari_renewals = -1;
117 md->defn_name = "unknown";
118 md->defn_line_number = 0;
119 }
120 return md;
121}
122
123int md_equal_domains(const md_t *md1, const md_t *md2, int case_sensitive)
124{

Callers 2

md_createFunction · 0.85
md_from_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected