testserver/http: remove obsolete deprecated method

This commit is contained in:
Hidde Beydals 2020-06-30 09:56:36 +02:00
parent bc558eb00f
commit e4109eeae2
1 changed files with 0 additions and 1 deletions

View File

@ -88,7 +88,6 @@ func (s *HTTP) StartTLS(cert, key, ca []byte) error {
cp.AppendCertsFromPEM(ca)
config.RootCAs = cp
config.BuildNameToCertificate()
config.ServerName = "example.com"
s.server.TLS = &config