From 01a95108b34365a43af2ca94d6033a6dcc5f619b Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Fri, 19 Jun 2026 09:30:46 +0200 Subject: [PATCH] - Fix warning about file_string_matches in unbound-checkconf. --- doc/Changelog | 1 + smallapp/unbound-checkconf.c | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.47.3