From 45212c47d7a3bd592a2d821a2a87ad30e89ce910 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sat, 10 Feb 2024 20:56:13 -0500 Subject: [PATCH] Need to do handshake for direct TLS case --- common/common.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/common.go b/common/common.go index e457de6..a54b71b 100644 --- a/common/common.go +++ b/common/common.go @@ -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) } -- 2.45.2