diff --git a/app/src/main/java/org/minidns/dane/DaneVerifier.java b/app/src/main/java/org/minidns/dane/DaneVerifier.java index 6f56973cf0..74b393f401 100644 --- a/app/src/main/java/org/minidns/dane/DaneVerifier.java +++ b/app/src/main/java/org/minidns/dane/DaneVerifier.java @@ -120,7 +120,8 @@ public class DaneVerifier { List certificateMismatchExceptions = new LinkedList<>(); boolean verified = false; for (Record record : res.answerSection) { - if (record.type == Record.TYPE.TLSA && record.name.equals(req)) { + // https://github.com/MiniDNS/minidns/issues/140 + if (record.type == Record.TYPE.TLSA /*&& record.name.equals(req)*/) { TLSA tlsa = (TLSA) record.payloadData; try { verified |= checkCertificateMatches(chain[0], tlsa, hostName);