Merge pull request #1981 from v2ray/revert-1893-patch-1

Revert "Fix self-signed certificates on Windows"
This commit is contained in:
Kslr
2019-10-28 23:00:29 +08:00
committed by GitHub
+5 -1
View File
@@ -6,5 +6,9 @@ package tls
import "crypto/x509"
func (c *Config) getCertPool() (*x509.CertPool, error) {
return c.loadSelfCertPool()
if c.DisableSystemRoot {
return c.loadSelfCertPool()
}
return nil, nil
}