mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
12 lines
280 B
Go
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
|
|
}
|