Xray-core/transport/internet/xtls/config_windows.go

15 lines
210 B
Go

//go:build windows
// +build windows
package xtls
import "crypto/x509"
func (c *Config) getCertPool() (*x509.CertPool, error) {
if c.DisableSystemRoot {
return c.loadSelfCertPool()
}
return nil, nil
}