config_windows.go 211 B

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