github.com/EagleQL/Xray-core@v1.4.3/transport/internet/xtls/config_windows.go (about)

     1  // +build windows
     2  
     3  package xtls
     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  }