Use newly-available HandshakeContext instead of firing off a goroutine. https://pkg.go.dev/crypto/tls#Conn.HandshakeContext Don't set explicit min and max TLS versions. Go's defaults do a good job protecting us here (and the max version prevented us from using TLS 1.3). |
||
---|---|---|
.. | ||
testdata | ||
creds.go | ||
creds_test.go |