Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jandelgado committed Mar 26, 2021
1 parent 74d1f56 commit 3667258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rabtap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func getTLSConfig(insecureTLS bool, certFile string, keyFile string, caFile stri
// Load CA cert
caCert, err := ioutil.ReadFile(caFile)
if err != nil {
failOnError(err, "invalid client tls ca file", os.Exit)
failOnError(err, "invalid tls ca file", os.Exit)
}
caCertPool := x509.NewCertPool()
caCertPool.AppendCertsFromPEM(caCert)
Expand Down

0 comments on commit 3667258

Please sign in to comment.