1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 02:35:23 +00:00
v2fly/transport/internet/tls/config_windows.go

15 lines
205 B
Go
Raw Normal View History

2018-04-13 08:01:10 +00:00
// +build windows
2019-02-01 19:08:21 +00:00
// +build !confonly
2018-04-13 08:01:10 +00:00
package tls
import "crypto/x509"
func (c *Config) getCertPool() (*x509.CertPool, error) {
if c.DisableSystemRoot {
return c.loadSelfCertPool()
}
2018-04-13 08:01:10 +00:00
return nil
}