Revert "net/tlsdial: add memory-optimized TLS cert verification path for iOS"

This reverts commit 6fcbd4c4d4.

Decided to put it in tailscale/go's crypto/x509 instead.
This commit is contained in:
Brad Fitzpatrick
2020-04-27 08:13:37 -07:00
parent 5d67365cc9
commit 172d72a060
3 changed files with 0 additions and 69 deletions

View File

@ -8,8 +8,6 @@ package tlsdial
import "crypto/tls"
var platformModifyConf func(*tls.Config)
// Config returns a tls.Config for dialing the given host.
// If base is non-nil, it's cloned as the base config before
// being configured and returned.
@ -22,9 +20,5 @@ func Config(host string, base *tls.Config) *tls.Config {
}
conf.ServerName = host
if platformModifyConf != nil {
platformModifyConf(conf)
}
return conf
}