~singpolyma/xmpp-certwatch

45212c47d7a3bd592a2d821a2a87ad30e89ce910 — Stephen Paul Weber 5 months ago 26b366d
Need to do handshake for direct TLS case
1 files changed, 3 insertions(+), 0 deletions(-)

M common/common.go
M common/common.go => common/common.go +3 -0
@@ 85,6 85,9 @@ func oneTarget(resolver *dane.Resolver, service string, selector string, target 

		if appname == "" {
			conn, err = dane.DialTLS(config)
			if err == nil {
				err = conn.Handshake()
			}
		} else {
			conn, err = dane.DialStartTLS(config)
		}