full diff: https://github.com/docker/go-connections/compare/v0.6.0...v0.7.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
13 lines
251 B
Go
13 lines
251 B
Go
package tlsconfig
|
|
|
|
import "crypto/x509"
|
|
|
|
// SystemCertPool returns a copy of the system cert pool.
|
|
//
|
|
// Deprecated: use [x509.SystemCertPool] instead.
|
|
//
|
|
//go:fix inline
|
|
func SystemCertPool() (*x509.CertPool, error) {
|
|
return x509.SystemCertPool()
|
|
}
|