mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_md: silencing unsed warnings when no mod_ssl hooks are not available
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1862110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1285,6 +1285,9 @@ static void md_hooks(apr_pool_t *pool)
|
||||
APR_OPTIONAL_HOOK(ssl, add_fallback_cert_files, md_add_fallback_cert_files, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
APR_OPTIONAL_HOOK(ssl, answer_challenge, md_answer_challenge, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
#else
|
||||
(void)md_add_cert_files;
|
||||
(void)md_add_fallback_cert_files;
|
||||
(void)md_answer_challenge;
|
||||
APR_REGISTER_OPTIONAL_FN(md_is_challenge);
|
||||
APR_REGISTER_OPTIONAL_FN(md_is_managed);
|
||||
APR_REGISTER_OPTIONAL_FN(md_get_certificate);
|
||||
|
Reference in New Issue
Block a user