feat: remove deprecated use of BuildNameToCertificate

This commit is contained in:
James Houlahan
2020-12-15 16:17:56 +01:00
parent be583c431e
commit dc3b4d53e1
2 changed files with 1 additions and 7 deletions

View File

@ -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
}

View File

@ -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 "".