mirror of https://github.com/XTLS/Xray-core
14 lines
191 B
Go
14 lines
191 B
Go
|
// +build windows
|
||
|
|
||
|
package xtls
|
||
|
|
||
|
import "crypto/x509"
|
||
|
|
||
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||
|
if c.DisableSystemRoot {
|
||
|
return c.loadSelfCertPool()
|
||
|
}
|
||
|
|
||
|
return nil, nil
|
||
|
}
|