diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-03 11:32:32 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-03 12:49:45 +0100 |
commit | ef3a1a30b2d5edba53f1a8c8d1dc594940cb39c1 (patch) | |
tree | c39d01e6a0ef11ef033dc7fafdf2415d7c4a7494 /src | |
parent | 3581f3213f74d47833cc710dfc678f1d79debaa7 (diff) |
DANE: treat a TLSA response having only non-TLSA records the same as a no-match response
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index c84323c17..bbfef0632 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -1217,7 +1217,8 @@ switch (dns_lookup(dnsa, buffer, T_TLSA, &fullname)) case DNS_AGAIN: return DEFER; /* just defer this TLS'd conn */ - case DNS_NOMATCH: + case DNS_NODATA: /* no TLSA RR for this lookup */ + case DNS_NOMATCH: /* no records at all for this lookup */ return dane_required ? FAIL : FAIL_FORCED; default: |