diff options
author | Stefan Eissing <icing@apache.org> | 2017-09-26 10:33:35 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2017-09-26 10:33:35 +0200 |
commit | c2f7c7a31f22fd026eff35701174811428327704 (patch) | |
tree | 296b4072f874f991988fb62c0ead6020218581e3 /modules/md/md_cmd_reg.c | |
parent | On the trunk: (diff) | |
download | apache2-c2f7c7a31f22fd026eff35701174811428327704.tar.xz apache2-c2f7c7a31f22fd026eff35701174811428327704.zip |
On the trunk:
mod_md: v0.9.7
- Use of the new module flag
- Removed obsolete function from interface to mod_ssl.
- Fallback certificates has version set and no longer claims to be a CA. (re issue #32)
- MDRequireHttps now happens before any Redirect.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md/md_cmd_reg.c')
-rw-r--r-- | modules/md/md_cmd_reg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/md/md_cmd_reg.c b/modules/md/md_cmd_reg.c index 1b1278ac46..e8cb11725c 100644 --- a/modules/md/md_cmd_reg.c +++ b/modules/md/md_cmd_reg.c @@ -41,6 +41,7 @@ static apr_status_t cmd_reg_add(md_cmd_ctx *ctx, const md_cmd_t *cmd) md_t *md; apr_status_t rv; + (void)cmd; md = md_create(ctx->p, md_cmd_gather_args(ctx, 0)); if (md->domains->nelts == 0) { return APR_EINVAL; @@ -70,6 +71,7 @@ static int list_add_md(void *baton, md_reg_t *reg, md_t *md) { apr_array_header_t *mdlist = baton; + (void)reg; APR_ARRAY_PUSH(mdlist, const md_t *) = md; return 1; } @@ -86,6 +88,7 @@ static apr_status_t cmd_reg_list(md_cmd_ctx *ctx, const md_cmd_t *cmd) const md_t *md; int i; + (void)cmd; if (ctx->argc > 0) { for (i = 0; i < ctx->argc; ++i) { name = ctx->argv[i]; @@ -304,6 +307,7 @@ static apr_status_t cmd_reg_drive(md_cmd_ctx *ctx, const md_cmd_t *cmd) apr_status_t rv; int i; + (void)cmd; md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, ctx->p, "drive do"); if (ctx->argc > 0) { for (i = 0; i < ctx->argc; ++i) { @@ -322,7 +326,7 @@ static apr_status_t cmd_reg_drive(md_cmd_ctx *ctx, const md_cmd_t *cmd) rv = APR_SUCCESS; for (i = 0; i < mdlist->nelts; ++i) { - md_t *md = APR_ARRAY_IDX(mdlist, i, md_t*); + md = APR_ARRAY_IDX(mdlist, i, md_t*); if (APR_SUCCESS != (rv = assess_and_drive(ctx, md))) { break; } |