1
0
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:
lucus lee 2019-09-22 22:15:27 +09:00 committed by GitHub
parent e9f53059b1
commit 3b087bf8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}