fix potential insecure skip verification bug

This commit is contained in:
Daniel Kaffee 2015-07-28 15:15:31 +03:00
parent 7b743f12fe
commit 280fec2913
1 changed files with 0 additions and 2 deletions

View File

@ -104,8 +104,6 @@ func setupTLSConfig(conf map[string]string) (*tls.Config, error) {
}
tlsClientConfig.Certificates = []tls.Certificate{tlsCert}
} else {
tlsClientConfig.InsecureSkipVerify = true
}
caPool := x509.NewCertPool()