Revert "Show the DNSSEC status (ad=) always in -bt/-bv output"
authorHeiko Schlittermann (HS12) <hs@schlittermann.de>
Tue, 9 Jun 2015 20:14:26 +0000 (22:14 +0200)
committerHeiko Schlittermann (HS12) <hs@schlittermann.de>
Tue, 9 Jun 2015 20:14:26 +0000 (22:14 +0200)
This reverts commit e7a1b6ff65f1bebbc290f2a4fd7554fde00ae2f6.
It's not production grade, since the wording (ad vs. trusted)
is not final yet.

src/src/verify.c

index 6c6e6d61862a79b0700981369221398e04bcbb07..e00e7b9eba828f4dbfc5512496a8d971041f1e85 100644 (file)
@@ -2363,6 +2363,7 @@ for (addr_list = addr_local, i = 0; i < 2; addr_list = addr_remote, i++)
         while (len++ < maxaddlen) fprintf(f," ");
         if (h->mx >= 0) fprintf(f, "MX=%d", h->mx);
         if (h->port != PORT_NONE) fprintf(f, " port=%d", h->port);
         while (len++ < maxaddlen) fprintf(f," ");
         if (h->mx >= 0) fprintf(f, "MX=%d", h->mx);
         if (h->port != PORT_NONE) fprintf(f, " port=%d", h->port);
+        if (running_in_test_harness)
 #ifndef DISABLE_DNSSEC
           fprintf(f, " ad=%s", h->dnssec==DS_YES ? "yes" : "no");
 #else
 #ifndef DISABLE_DNSSEC
           fprintf(f, " ad=%s", h->dnssec==DS_YES ? "yes" : "no");
 #else