소스 검색

Document CertPath and KeyPath as now-optional

Maciek Sakrejda 10 년 전
부모
커밋
af396da0a6
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      conn.go

+ 3 - 0
conn.go

@@ -55,6 +55,9 @@ func (p PasswordAuthenticator) Success(data []byte) error {
 }
 
 type SslOptions struct {
+	// CertPath and KeyPath are optional depending on server
+	// config, but both fields must be omitted to avoid using a
+	// client certificate
 	CertPath string
 	KeyPath  string
 	CaPath   string //optional depending on server config