1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 10:37:09 -05:00
v2fly/transport/internet/tls/config_windows.go

15 lines
237 B
Go
Raw Normal View History

2021-10-28 06:34:19 -04:00
//go:build windows
// +build windows
2018-04-13 04:01:10 -04:00
package tls
import "crypto/x509"
func (c *Config) getCertPool() (*x509.CertPool, error) {
if c.DisableSystemRoot {
return c.loadSelfCertPool(Certificate_AUTHORITY_VERIFY)
}
2019-02-27 08:51:51 -05:00
return nil, nil
2018-04-13 04:01:10 -04:00
}