summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-05-14 17:06:17 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-05-14 17:06:17 +0100
commit6b5242044dfe4061d52edfd975c6020914e3c1be (patch)
tree3cc07520e639e7882ca80852d542f87276a31b9e /src
parentf33875c3a0a0ef03a2e53cfcd339791b793151f0 (diff)
Revert "DANE: do not trust a non-dnssec NXDOMAIN return for the TLSA lookup"
This reverts commit 5d6bdf01a921a88030e9baec7ba5f238da90e979.
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 9c95a4124..8f1e0bff8 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -1209,7 +1209,7 @@ switch (rc)
case DNS_NODATA: /* no TLSA RR for this lookup */
case DNS_NOMATCH: /* no records at all for this lookup */
- return dane_required ? FAIL : sec ? FAIL_FORCED : DEFER;
+ return dane_required ? FAIL : FAIL_FORCED;
default:
case DNS_FAIL: