Xray-core/transport/internet/tls/config_windows.go
2020-12-11 13:05:29 +08:00

14 lines
190 B
Go

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