2026-05-08 11:16:47 -07:00

15 lines
289 B
Go

//go:build !go1.15
// +build !go1.15
package msdsn
import (
"crypto/tls"
)
func setupTLSCommonName(config *tls.Config, pemData []byte) error {
// Prior to Go 1.15, the TLS allowed ":" when checking the hostname.
// See https://golang.org/issue/40748 for details.
return skipSetup
}