1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00

Merge pull request #1893 from lixin9311/patch-1

Fix self-signed certificates on Windows
This commit is contained in:
Kslr 2019-10-27 15:23:39 +08:00 committed by GitHub
commit 5bb4efd126
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()
}