mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
Merge pull request #1981 from v2ray/revert-1893-patch-1
Revert "Fix self-signed certificates on Windows"
This commit is contained in:
commit
e55f1c5722
@ -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
Block a user