Remove duplicate check

This commit is contained in:
Ben Barnard
2017-03-08 16:19:29 +01:00
parent be1b4c44f8
commit ce1fa4651a

View File

@@ -223,7 +223,7 @@ func (c *Config) ConfigureTLS() error {
return err
}
foundClientCert = true
} else if c.TLSConfig.ClientCert != "" || c.TLSConfig.ClientKey != "" {
} else {
return fmt.Errorf("Both client cert and client key must be provided")
}
}