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

@ -6,6 +6,7 @@ workflows:
- build-1.11
- build-1.12
- build-1.13
- build-1.14
- build-latest
- test-build-in-docker
jobs:
@ -111,6 +112,11 @@ jobs:
docker:
- image: circleci/golang:1.13
build-1.14:
<<: *build-latest
docker:
- image: circleci/golang:1.14
# this job tries to mimic the build-in-docker instructions
# given in docs/installation.rst
#

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
}