#include <apr_time.h>
#include "md_time.h"
-#include "md_version.h"
struct apr_array_header_t;
struct apr_hash_t;
#include "md_store.h"
#include "md_result.h"
#include "md_util.h"
-#include "md_version.h"
#include "md_acme.h"
#include "md_acme_acct.h"
acme->url = url;
acme->p = p;
acme->user_agent = apr_psprintf(p, "%s mod_md/%s",
- base_product, MOD_MD_VERSION);
+ base_product, AP_SERVER_BASEREVISION);
acme->proxy_url = apr_pstrdup(p, proxy_url);
acme->max_retries = 9;
acme->ca_file = ca_file;
#include "md_result.h"
#include "md_store.h"
#include "md_util.h"
-#include "md_version.h"
#include "md_acme.h"
#include "md_acme_acct.h"
#ifndef md_acme_drive_h
#define md_acme_drive_h
+#define MD_ACME_DEF_URL "https://acme-v02.api.letsencrypt.org/directory"
+
struct apr_array_header_t;
struct md_acme_order_t;
struct md_credentials_t;
int i;
json = md_json_create(p);
- md_json_sets(MOD_MD_VERSION, json, MD_KEY_VERSION, NULL);
+ md_json_sets(AP_SERVER_BASEREVISION, json, MD_KEY_VERSION, NULL);
for (i = 0; i < mds->nelts; ++i) {
md = APR_ARRAY_IDX(mds, i, const md_t *);
status_get_md_json(&mdj, md, reg, ocsp, 0, p);
#include "md_store.h"
#include "md_store_fs.h"
#include "md_util.h"
-#include "md_version.h"
/**************************************************************************************************/
/* file system based implementation of md_store_t */
+++ /dev/null
-/* Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef mod_md_md_version_h
-#define mod_md_md_version_h
-
-#undef PACKAGE_VERSION
-#undef PACKAGE_TARNAME
-#undef PACKAGE_STRING
-#undef PACKAGE_NAME
-#undef PACKAGE_BUGREPORT
-
-/**
- * @macro
- * Version number of the md module as c string
- */
-#define MOD_MD_VERSION "2.6.10"
-
-/**
- * @macro
- * Numerical representation of the version number of the md module
- * release. This is a 24 bit number with 8 bits for major number, 8 bits
- * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
- */
-#define MOD_MD_VERSION_NUM 0x02060a
-
-#define MD_ACME_DEF_URL "https://acme-v02.api.letsencrypt.org/directory"
-
-#endif /* mod_md_md_version_h */
#include "md_reg.h"
#include "md_status.h"
#include "md_util.h"
-#include "md_version.h"
#include "md_acme.h"
#include "md_acme_authz.h"
}
else {
ap_log_error( APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(10071)
- "mod_md (v%s), initializing...", MOD_MD_VERSION);
+ "mod_md (v%s), initializing...", AP_SERVER_BASEREVISION);
}
(void)plog;
#include "md_result.h"
#include "md_reg.h"
#include "md_util.h"
-#include "md_version.h"
#include "md_acme.h"
#include "md_acme_authz.h"
#include "md_log.h"
#include "md_reg.h"
#include "md_util.h"
-#include "md_version.h"
#include "md_acme.h"
#include "md_acme_authz.h"