mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-23 01:56:48 +08:00
v1.0.0
This commit is contained in:
14
transport/internet/tls/config_windows.go
Normal file
14
transport/internet/tls/config_windows.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// +build windows
|
||||
// +build !confonly
|
||||
|
||||
package tls
|
||||
|
||||
import "crypto/x509"
|
||||
|
||||
func (c *Config) getCertPool() (*x509.CertPool, error) {
|
||||
if c.DisableSystemRoot {
|
||||
return c.loadSelfCertPool()
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
}
|
Reference in New Issue
Block a user