Browse Source

Merge pull request #3096 from philips/tls-info-debug

pkg/transport: include debug output for trusted-ca
Yicheng Qin 10 years ago
parent
commit
6250fed8a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/transport/listener.go

+ 1 - 1
pkg/transport/listener.go

@@ -78,7 +78,7 @@ type TLSInfo struct {
 }
 
 func (info TLSInfo) String() string {
-	return fmt.Sprintf("cert = %s, key = %s, ca = %s", info.CertFile, info.KeyFile, info.CAFile)
+	return fmt.Sprintf("cert = %s, key = %s, ca = %s, trusted-ca = %s", info.CertFile, info.KeyFile, info.CAFile, info.TrustedCAFile)
 }
 
 func (info TLSInfo) Empty() bool {