Browse Source

transport: no need to set RootCAs in TLSInfo.ServerConfig

Brian Waldon 11 years ago
parent
commit
db12e5704b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      transport/listener.go

+ 0 - 2
transport/listener.go

@@ -59,8 +59,6 @@ func (info TLSInfo) ServerConfig() (*tls.Config, error) {
 		if err != nil {
 			return nil, err
 		}
-
-		cfg.RootCAs = cp
 		cfg.ClientCAs = cp
 	} else {
 		cfg.ClientAuth = tls.NoClientCert