mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 06:16:53 -05:00
15 lines
237 B
Go
15 lines
237 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package tls
|
|
|
|
import "crypto/x509"
|
|
|
|
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
|
if c.DisableSystemRoot {
|
|
return c.loadSelfCertPool(Certificate_AUTHORITY_VERIFY)
|
|
}
|
|
|
|
return nil, nil
|
|
}
|