Merge pull request #6 from ganzm/patch-1

Fix typo while logging tls config error
This commit is contained in:
Snawoot 2021-06-14 19:13:00 +03:00 committed by GitHub
commit aec270555d
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)