mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.resolvers.basic: Don't enable DANE with zero TLSA records
Turns out it doesn't work with zero.
This commit is contained in:
parent
8673a99a09
commit
60ec880c48
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function methods:next(cb)
|
|||
if n > 0 then return; end
|
||||
self.targets = targets;
|
||||
if self.extra and self.extra.use_dane then
|
||||
if secure then
|
||||
if secure and tlsa[1] then
|
||||
self.extra.tlsa = tlsa;
|
||||
self.extra.dane_hostname = self.hostname;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue