mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-15 16:56:08 -05:00
Fix self-signed certificates on Windows
This commit is contained in:
parent
e9f53059b1
commit
3b087bf8c4
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user