Fix typo while logging tls config error

This commit is contained in:
Matthias Ganz 2021-06-14 17:07:19 +02:00 committed by GitHub
parent a3e037c8ce
commit 3760b07ff6
Failed to generate hash of commit
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func run() int {
if args.cert != "" { if args.cert != "" {
cfg, err1 := makeServerTLSConfig(args.cert, args.key, args.cafile) cfg, err1 := makeServerTLSConfig(args.cert, args.key, args.cafile)
if err1 != nil { if err1 != nil {
mainLogger.Critical("TLS config construction failed: %v", err) mainLogger.Critical("TLS config construction failed: %v", err1)
return 3 return 3
} }
cfg.CipherSuites = makeCipherList(args.ciphers) cfg.CipherSuites = makeCipherList(args.ciphers)