mirror of https://github.com/v2ray/v2ray-core
Merge pull request #1893 from lixin9311/patch-1
Fix self-signed certificates on Windowspull/1981/head
commit
5bb4efd126
|
@ -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