Commit 294f6957 authored by Guilherme Bernal's avatar Guilherme Bernal Committed by Matt Holt

tls: Fix typo in error message, "incompabile" (#2147)

parent fe664c00
...@@ -432,7 +432,7 @@ func MakeTLSConfig(configs []*Config) (*tls.Config, error) { ...@@ -432,7 +432,7 @@ func MakeTLSConfig(configs []*Config) (*tls.Config, error) {
// compatible), otherwise that is a configuration error // compatible), otherwise that is a configuration error
if otherConfig, ok := configMap[cfg.Hostname]; ok { if otherConfig, ok := configMap[cfg.Hostname]; ok {
if err := assertConfigsCompatible(cfg, otherConfig); err != nil { if err := assertConfigsCompatible(cfg, otherConfig); err != nil {
return nil, fmt.Errorf("incompabile TLS configurations for the same SNI "+ return nil, fmt.Errorf("incompatible TLS configurations for the same SNI "+
"name (%s) on the same listener: %v", "name (%s) on the same listener: %v",
cfg.Hostname, err) cfg.Hostname, err)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment