diff --git a/transport/internet/tls/config.go b/transport/internet/tls/config.go index 2032596c1..640acac56 100644 --- a/transport/internet/tls/config.go +++ b/transport/internet/tls/config.go @@ -50,6 +50,7 @@ func (c *Config) loadSelfCertPool() (*x509.CertPool, error) { } return root, nil } + func (c *Config) loadSelfCertPoolClientCA() (*x509.CertPool, error) { root := x509.NewCertPool() for _, cert := range c.Certificate {