Merge pull request #1893 from lixin9311/patch-1

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