testserver/http: remove obsolete deprecated method
This commit is contained in:
parent
bc558eb00f
commit
e4109eeae2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue