1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00
documize/vendor/github.com/microsoft/go-mssqldb/msdsn/conn_str_go115pre.go
2024-01-10 14:47:40 -05:00

12 lines
280 B
Go

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