Xray-core/transport/internet/tls/config_windows.go
2020-11-25 19:01:53 +08:00

15 lines
210 B
Go

// +build windows
// +build !confonly
package tls
import "crypto/x509"
func (c *Config) getCertPool() (*x509.CertPool, error) {
if c.DisableSystemRoot {
return c.loadSelfCertPool()
}
return nil, nil
}