change function signature to take entire tls config object

This commit is contained in:
Chelsea Holland Komlo
2018-08-06 13:54:57 -04:00
parent 827dbabcc2
commit bfaf4dcb2b
3 changed files with 33 additions and 27 deletions

View File

@@ -844,7 +844,7 @@ func parseTLSConfig(result **config.TLSConfig, list *ast.ObjectList) error {
return err
}
if _, err := tlsutil.ParseCiphers(tlsConfig.TLSCipherSuites); err != nil {
if _, err := tlsutil.ParseCiphers(&tlsConfig); err != nil {
return err
}