fix(backend): remove deprecated BuildNameToCertificate usage

This commit is contained in:
Łukasz Mierzwa
2020-02-26 09:48:29 +00:00
parent 0dfdeda139
commit 1b31486eff
2 changed files with 1 additions and 2 deletions

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/prymitive/karma
go 1.12
go 1.14
require (
github.com/DeanThompson/ginpprof v0.0.0-20190408063150-3be636683586

View File

@@ -29,7 +29,6 @@ func configureTLSClientCert(tlsConfig *tls.Config, certPath, keyPath string) err
return err
}
tlsConfig.Certificates = []tls.Certificate{cert}
tlsConfig.BuildNameToCertificate()
return nil
}