1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00
v2fly/transport/internet/tls/config_windows.go
2019-02-27 14:51:51 +01: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
}