~singpolyma/xmpp-certwatch

26b366d5de65555ff692337aa5a13f6e6e7909f3 — Stephen Paul Weber 2 months ago 9f35767
More diagnostic info
1 files changed, 1 insertions(+), 1 deletions(-)

M common/common.go
M common/common.go => common/common.go +1 -1
@@ 95,7 95,7 @@ func oneTarget(resolver *dane.Resolver, service string, selector string, target 

		cs := conn.ConnectionState()
		if len(cs.PeerCertificates) < 1 {
			return TargetResult{}, fmt.Errorf("No certificate given for %s", target)
			return TargetResult{}, fmt.Errorf("No certificate given for %s (%s %s)", target, selector, service)
		}
		sha256, _ := dns.CertificateToDANE(1, 1, cs.PeerCertificates[0])