mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-08-24 21:56:25 +00:00
15 lines
211 B
Go
15 lines
211 B
Go
// +build windows
|
|
// +build !confonly
|
|
|
|
package xtls
|
|
|
|
import "crypto/x509"
|
|
|
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
|
if c.DisableSystemRoot {
|
|
return c.loadSelfCertPool()
|
|
}
|
|
|
|
return nil, nil
|
|
}
|