]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix #290: ldns-verify-zone prints to stdout instead of myerr
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 19 Dec 2025 09:47:06 +0000 (10:47 +0100)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 19 Dec 2025 09:47:06 +0000 (10:47 +0100)
Thanks RoyArends

Changelog
examples/ldns-verify-zone.c

index d34c8f3e42efa3ac6d35683840f3dc0eb42a4df8..41b63cbb4dcd084985738702d456b52931c03f8c 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,6 @@
 1.9.1  2026-??-??
-       * 
+       * Fix #290: ldns-verify-zone prints to stdout instead of myerr
+         Thanks RoyArends
 
 1.9.0  2025-12-04
        * PR #246: Make ldns_calc_keytag() available for CDNSKEY RR
index 38da9deaba6b26e7e8474036bdcbae1fd700ad70..8c242a94604346d2f2ffcd2917aea2325a9cc1dc 100644 (file)
@@ -291,7 +291,7 @@ verify_next_hashed_name(ldns_dnssec_zone* zone, ldns_dnssec_name *name)
        if (cmp != 0) {
                if (verbosity > 0) {
                        fprintf(myerr, "Error: The NSEC3 record for ");
-                       ldns_rdf_print(stdout, name->name);
+                       ldns_rdf_print(myerr, name->name);
                        fprintf(myerr, " points to the wrong next hashed owner"
                                        " name\n\tshould point to ");
                        ldns_rdf_print(myerr, next_name->name);