1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05: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
}