Remove NewCertificateStore function

This commit is contained in:
adnano
2020-09-28 00:41:00 -04:00
parent cad2d25185
commit 956a2bad52
4 changed files with 3 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ func init() {
return err
}
client.CertificateStore = gmi.NewCertificateStore()
client.CertificateStore = gmi.CertificateStore{}
client.GetCertificate = func(hostname string, store gmi.CertificateStore) *tls.Certificate {
// If the certificate is in the store, return it
if cert, ok := store[hostname]; ok {