mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -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"
|
import "crypto/x509"
|
||||||
|
|
||||||
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||||||
if c.DisableSystemRoot {
|
return c.loadSelfCertPool()
|
||||||
return c.loadSelfCertPool()
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil, nil
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user