From: W.C.A. Wijngaards Date: Fri, 19 Jun 2026 07:30:46 +0000 (+0200) Subject: - Fix warning about file_string_matches in unbound-checkconf. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;ds=inline;p=thirdparty%2Funbound.git - Fix warning about file_string_matches in unbound-checkconf. --- diff --git a/doc/Changelog b/doc/Changelog index 8d96bfb7b..3b58319d9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - Fix for #1457: fix thread setname for thread start of dnstap, and fast_reload. - Fix to update github ci actions/checkout to v7. + - Fix warning about file_string_matches in unbound-checkconf. 17 June 2026: Wouter - Fix that after fast_reload the disown of the auth zone diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 41cc2a050..75a2c2316 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -731,6 +731,7 @@ check_modules_exist(const char* module_conf) } } +#ifdef USE_IPSECMOD /** Compare filename with string, true if it matches the name. */ static int file_string_matches(char* str, char* fname, struct config_file* cfg) @@ -748,6 +749,7 @@ file_string_matches(char* str, char* fname, struct config_file* cfg) free(f); return 0; } +#endif /* USE_IPSECMOD */ /** Compare filename with list of files, true if list contains the name. */ static int