Log zone digest validation success as well
@@ -924,9 +924,11 @@ main(int argc, char **argv)
if (!result) {
result = ldns_dnssec_zone_verify_zonemd(dnssec_zone);
- if (result && verbosity > 3) {
- fprintf(myerr,
- "Could not validate zone digest\n");
+ if (verbosity > 3) {
+ fprintf( ( result ? myerr : myout)
+ , ( result
+ ? "Could not validate zone digest\n"
+ : "Zone digest matched the zone content\n" ));
}
}
if (result == LDNS_STATUS_OK) {
