Fix self-signed certificates on Windows

This commit is contained in:
lucus lee
2019-09-22 22:15:27 +09:00
committed by GitHub
parent e9f53059b1
commit 3b087bf8c4
+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()
}