]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix warning about file_string_matches in unbound-checkconf. master
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Jun 2026 07:30:46 +0000 (09:30 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Jun 2026 07:30:46 +0000 (09:30 +0200)
doc/Changelog
smallapp/unbound-checkconf.c

index 8d96bfb7bb91aee757f531e789723caf1c05e2cc..3b58319d98fbea71a1f5cd37fcf89f3e963eaadb 100644 (file)
@@ -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 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
 
 17 June 2026: Wouter
        - Fix that after fast_reload the disown of the auth zone
index 41cc2a050b1f9d43d1ffd0bc035ed89f9fd0ed92..75a2c231688b25706636e55df93a341af707f764 100644 (file)
@@ -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)
 /** 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;
 }
        free(f);
        return 0;
 }
+#endif /* USE_IPSECMOD */
 
 /** Compare filename with list of files, true if list contains the name. */
 static int
 
 /** Compare filename with list of files, true if list contains the name. */
 static int