1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-01 19:45:24 +00:00
v2fly/transport/internet/tls/config_windows.go
2022-05-03 15:23:33 +01:00

15 lines
237 B
Go

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