1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +00:00

chasquid: Remove overly verbose error about TLS config

This commit is contained in:
Alberto Bertogli
2016-09-24 01:07:05 +01:00
parent 711459b798
commit 0dc93d1ec6

View File

@@ -293,7 +293,7 @@ func (s *Server) getTLSConfig() (*tls.Config, error) {
for i := 0; i < len(s.certs); i++ { for i := 0; i < len(s.certs); i++ {
conf.Certificates[i], err = tls.LoadX509KeyPair(s.certs[i], s.keys[i]) conf.Certificates[i], err = tls.LoadX509KeyPair(s.certs[i], s.keys[i])
if err != nil { if err != nil {
return nil, fmt.Errorf("Error loading client certificate: %v", err) return nil, err
} }
} }