mirror of https://github.com/v2ray/v2ray-core
Revert "Fix self-signed certificates on Windows"
parent
8a36846869
commit
ae04c402da
|
@ -6,5 +6,9 @@ package tls
|
||||||
import "crypto/x509"
|
import "crypto/x509"
|
||||||
|
|
||||||
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||||||
return c.loadSelfCertPool()
|
if c.DisableSystemRoot {
|
||||||
|
return c.loadSelfCertPool()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue