mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05:00
15 lines
210 B
Go
15 lines
210 B
Go
// +build windows
|
|
// +build !confonly
|
|
|
|
package tls
|
|
|
|
import "crypto/x509"
|
|
|
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
|
if c.DisableSystemRoot {
|
|
return c.loadSelfCertPool()
|
|
}
|
|
|
|
return nil, nil
|
|
}
|