build: go1.14 + address tlsconf deprecation notice

fixes #286
This commit is contained in:
Christian Schwarz
2020-03-27 00:23:10 +01:00
parent 44bd354eae
commit 3187129672
2 changed files with 6 additions and 1 deletions

View File

@ -121,7 +121,6 @@ func ClientAuthClient(serverName string, rootCA *x509.CertPool, clientCert tls.C
ServerName: serverName,
KeyLogWriter: keylogFromEnv(),
}
tlsConfig.BuildNameToCertificate()
return tlsConfig, nil
}