terraform/vendor/github.com/hashicorp/go-rootcerts/rootcerts_base.go

13 lines
302 B
Go
Raw Normal View History

2016-05-03 15:46:24 +02:00
// +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
}