diff --git a/internal/config/tls/tls.go b/internal/config/tls/tls.go index d4470bee..0b9e27e9 100644 --- a/internal/config/tls/tls.go +++ b/internal/config/tls/tls.go @@ -158,13 +158,6 @@ func (t *TLS) GetConfig() (tlsConfig *tls.Config, err error) { tlsConfig.RootCAs = caCertPool tlsConfig.ClientCAs = caCertPool - /* This is deprecated: - * SA1019: tlsConfig.BuildNameToCertificate is deprecated: - * NameToCertificate only allows associating a single certificate with a given name. - * Leave that field nil to let the library select the first compatible chain from Certificates. - */ - tlsConfig.BuildNameToCertificate() // nolint[staticcheck] - return tlsConfig, err } diff --git a/unreleased.md b/unreleased.md index f0e3de17..acbaa85f 100644 --- a/unreleased.md +++ b/unreleased.md @@ -24,6 +24,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/) * GODT-912 Changed scroll bar behaviour in settings tab ### Removed +* GODT-208 Remove deprecated use of BuildNameToCertificate. ### Changed * GODT-97 Don't log errors caused by SELECT "".