github.com/eagleql/xray-core@v1.4.4/transport/internet/tls/config_windows.go (about)

     1  // +build windows
     2  
     3  package tls
     4  
     5  import "crypto/x509"
     6  
     7  func (c *Config) getCertPool() (*x509.CertPool, error) {
     8  	if c.DisableSystemRoot {
     9  		return c.loadSelfCertPool()
    10  	}
    11  
    12  	return nil, nil
    13  }