summaryrefslogtreecommitdiffstats
path: root/modules/md/md_acme_drive.c
diff options
context:
space:
mode:
authorLuca Toscano <elukey@apache.org>2018-10-13 14:10:49 +0200
committerLuca Toscano <elukey@apache.org>2018-10-13 14:10:49 +0200
commit72a5aa14ed5bff04665e523ca066983e26e21bab (patch)
tree15b953c1b18483a9588b6b5f79bdf51fc6b6d0c8 /modules/md/md_acme_drive.c
parentfr doc rebuild. (diff)
downloadapache2-72a5aa14ed5bff04665e523ca066983e26e21bab.tar.xz
apache2-72a5aa14ed5bff04665e523ca066983e26e21bab.zip
md_acme_drive.c: remove unused variable
Compiling in maintainer mode leads to a failure due to challenges_configured initialized but not used. Removing it seems harmless, Stefan please let me know if this is not the case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1843743 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md/md_acme_drive.c')
-rw-r--r--modules/md/md_acme_drive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/md/md_acme_drive.c b/modules/md/md_acme_drive.c
index 1587321f25..b5592e69b8 100644
--- a/modules/md/md_acme_drive.c
+++ b/modules/md/md_acme_drive.c
@@ -615,7 +615,6 @@ static apr_status_t acme_driver_init(md_proto_driver_t *d)
{
md_acme_driver_t *ad;
apr_status_t rv = APR_SUCCESS;
- int challenges_configured = 0;
ad = apr_pcalloc(d->p, sizeof(*ad));
@@ -632,12 +631,10 @@ static apr_status_t acme_driver_init(md_proto_driver_t *d)
if (d->challenge) {
/* we have been told to use this type */
APR_ARRAY_PUSH(ad->ca_challenges, const char*) = apr_pstrdup(d->p, d->challenge);
- challenges_configured = 1;
}
else if (d->md->ca_challenges && d->md->ca_challenges->nelts > 0) {
/* pre-configured set for this managed domain */
apr_array_cat(ad->ca_challenges, d->md->ca_challenges);
- challenges_configured = 1;
}
else {
/* free to chose. Add all we support and see what we get offered */