mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +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