summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index 6c6e6d618..e00e7b9eb 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -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);
+ if (running_in_test_harness)
#ifndef DISABLE_DNSSEC
fprintf(f, " ad=%s", h->dnssec==DS_YES ? "yes" : "no");
#else