mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-20 11:19:08 -04:00
Revert "Fix self-signed certificates on Windows"
This commit is contained in:
@@ -6,5 +6,9 @@ package tls
|
||||
import "crypto/x509"
|
||||
|
||||
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||||
return c.loadSelfCertPool()
|
||||
if c.DisableSystemRoot {
|
||||
return c.loadSelfCertPool()
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user