github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/internet/tls/config_windows.go (about) 1 // +build windows 2 // +build !confonly 3 4 package tls 5 6 import "crypto/x509" 7 8 func (c *Config) getCertPool() (*x509.CertPool, error) { 9 if c.DisableSystemRoot { 10 return c.loadSelfCertPool() 11 } 12 13 return nil, nil 14 }