15 lines
289 B
Go
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
|
|
}
|