mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-21 06:29:56 +00:00
Merge pull request #1893 from lixin9311/patch-1
Fix self-signed certificates on Windows
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user