Files
relspecgo/vendor/github.com/microsoft/go-mssqldb/msdsn/conn_str_go115pre.go
2026-02-07 15:51:20 +02: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
}