mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-10 02:53:11 +00:00
14 lines
190 B
Go
14 lines
190 B
Go
|
// +build windows
|
||
|
|
||
|
package tls
|
||
|
|
||
|
import "crypto/x509"
|
||
|
|
||
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||
|
if c.DisableSystemRoot {
|
||
|
return c.loadSelfCertPool()
|
||
|
}
|
||
|
|
||
|
return nil, nil
|
||
|
}
|