Update vendor

This commit is contained in:
Ettore Di Giacinto
2021-03-11 17:29:15 +01:00
parent 0028dd3a92
commit f8989e464e
389 changed files with 75154 additions and 1130 deletions

View File

@@ -0,0 +1,13 @@
// +build !go1.7
package tlsconfig
import (
"crypto/x509"
)
// SystemCertPool returns an new empty cert pool,
// accessing system cert pool is supported in go 1.7
func SystemCertPool() (*x509.CertPool, error) {
return x509.NewCertPool(), nil
}