~singpolyma/xmpp-certwatch

25b063e4d63e62a3baad38d3b4427d674a254863 — Stephen Paul Weber 5 months ago 323c1c8
Fix dudupe logic
1 files changed, 1 insertions(+), 2 deletions(-)

M cmd/web/main.go
M cmd/web/main.go => cmd/web/main.go +1 -2
@@ 33,9 33,8 @@ func dedupeTlsa(result *CheckResult) {
		deduped := []*dane.TLSArdata{}
		for _, rdata := range info.Rdata {
			_, exists := done[info.Qname+" "+rdata.Data]
			if exists {
			if !exists {
				deduped = append(deduped, rdata)
			} else {
				done[info.Qname+" "+rdata.Data] = true
			}
		}