bottin/vendor/github.com/hashicorp/go-rootcerts/rootcerts_base.go
Simon Beck 22a8897e72 Vendor
2022-02-08 20:24:59 +01:00

13 lines
302 B
Go

// +build !darwin
package rootcerts
import "crypto/x509"
// LoadSystemCAs does nothing on non-Darwin systems. We return nil so that
// default behavior of standard TLS config libraries is triggered, which is to
// load system certs.
func LoadSystemCAs() (*x509.CertPool, error) {
return nil, nil
}