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