github.com/xraypb/xray-core@v1.6.6/transport/internet/xtls/config_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package xtls 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 }