"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mod_md_config.c" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

mod_md_config.c  (mod_md-2.4.2):mod_md_config.c  (mod_md-2.4.4)
skipping to change at line 360 skipping to change at line 360
endp = ap_strrchr_c(arg, '>'); endp = ap_strrchr_c(arg, '>');
if (endp == NULL) { if (endp == NULL) {
return MD_CMD_MD_SECTION "> directive missing closing '>'"; return MD_CMD_MD_SECTION "> directive missing closing '>'";
} }
arg = apr_pstrndup(cmd->pool, arg, (apr_size_t)(endp-arg)); arg = apr_pstrndup(cmd->pool, arg, (apr_size_t)(endp-arg));
if (!arg || !*arg) { if (!arg || !*arg) {
return MD_CMD_MD_SECTION " > section must specify a unique domain name"; return MD_CMD_MD_SECTION " > section must specify a unique domain name";
} }
name = ap_getword_white(cmd->pool, &arg); name = ap_getword_conf(cmd->pool, &arg);
domains = apr_array_make(cmd->pool, 5, sizeof(const char *)); domains = apr_array_make(cmd->pool, 5, sizeof(const char *));
add_domain_name(domains, name, cmd->pool); add_domain_name(domains, name, cmd->pool);
while (*arg != '\0') { while (*arg != '\0') {
name = ap_getword_white(cmd->pool, &arg); name = ap_getword_conf(cmd->pool, &arg);
if (NULL != set_transitive(&transitive, name)) { if (NULL != set_transitive(&transitive, name)) {
add_domain_name(domains, name, cmd->pool); add_domain_name(domains, name, cmd->pool);
} }
} }
if (domains->nelts == 0) { if (domains->nelts == 0) {
return "needs at least one domain name"; return "needs at least one domain name";
} }
md = md_create(cmd->pool, domains); md = md_create(cmd->pool, domains);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)